/*
Theme Name: StylishName
Theme URI: http://stylishname.org/
Author: Admin
Author URI: http://stylishname.org/
Description: A simple custom stylish name WordPress theme
Version: 3.0 (redesign: "Aurora Glow" — light, vivid, made for
Instagram bios and gamer tags. Same class names/IDs as before,
so it drops straight into your existing PHP/JS with zero markup changes.)
License: GPL v2 or later
Text Domain: stylishname
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
    background:#f1f1f1;
}
.site-header {
    background: #000;
    padding: 5px 0px;
}
.site-header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.site-branding {
    display: flex;
    align-items: center;
    gap: 5px;
}
.hamburger {
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    border-radius: 5px;
    background: transparent;
    border: 1.5px solid #333;
    transition: background 0.15s;
}
.hamburger svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #333;
    stroke-width: 2;
    fill: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.emoheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.emotitle {
    font-size: 18px;
    font-weight: 600;
}

.emotitle small {
    font-size: 13px;
    font-weight: 400;
    color: #666;
}

.add-front {
    background: #e9ecef;
    border: none;
    padding: 6px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.add-form {
    display: none;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.add-form-inner {
    display: flex;
    gap: 8px;
}

.add-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.add-input:focus {
    outline: none;
    border-color: #667eea;
}

.add-submit {
    background: #667eea;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.add-cancel {
    background: #e9ecef;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.add-msg {
    margin-top: 8px;
    font-size: 13px;
    color: #28a745;
}

.items-container {
        display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
	    gap: 5px;
}

.item {
  display: flex;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
	position: relative;
}


.item:hover {
    background: #fff;
}

.item.voted {
    border-color: #28a745;
    background: #f0fff4;
}

.item-name {
    font-size: 1.5rem;
    font-weight: 500;
    word-break: break-word;
    margin-bottom: 10px;
	    font-family: sans-serif;
	cursor:pointer;
	padding:5px 15px;
}

.item-controls {
    display: flex;
    gap: 2px;
}

.item-controls button{
       display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    background: transparent;
}

.emoup-btn {
    color: #1e7e34;
    border-color: #d4edda;
}

.emoup-btn:hover:not(:disabled) {
   scale:1.1
}

.emodown-btn {
    color: #8a4b12;
    border-color: #fde8d0;
}

.emodown-btn:hover:not(:disabled) {
    scale:1.1
}

.emovote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.emovote-icon.your-vote {
    color: #28a745;
}

.emoup-count,
.emodown-count {
    min-width: 16px;
    text-align: center;
}

.item-enter {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.emo-loadmore-wrap {
    text-align: center;
    margin: 10px 0;
}

.emopagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
}

.emo-btn {
    padding: 10px 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
}

.emo-btn:hover:not(:disabled) {
    background: #667eea;
    color: #fff;
}

.emo-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.share-url {
    text-align: center;
    padding: 5px;
}

.emo-numbers {
    display: flex;
    gap: 4px;
}

.emo-number {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    min-width: 32px;
    text-align: center;
}

.emo-number:hover:not(.emo-current) {
    background: #e9ecef;
}

.emo-current {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
    font-weight: 600;
}

.emo-ellipsis {
    padding: 0 4px;
    color: #666;
}

.emo-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
span.alert {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    background: #fff;
}


/* ===== SHARE URL SECTION ===== */


.share-url label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a3f5c;
    letter-spacing: 0.3px;
}

.share-url input {
    flex: 1;
    min-width: 200px;
    padding: 10px 16px;
    border: 2px solid #e2d6ec;
    border-radius: 40px;
    font-size: 0.9rem;
    background: #faf8fc;
    color: #2d2438;
    outline: none;
    transition: border-color 0.3s ease;
}

.share-url input:focus {
    border-color: #b197d4;
    box-shadow: 0 0 0 4px rgba(177, 151, 212, 0.15);
}

.share-url button {
    background: #7c5f9e;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.share-url button:hover {
    background: #6a4e8a;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(124, 95, 158, 0.35);
}

.share-url button:active {
    transform: scale(0.96);
}

/* ===== ARTICLE / POST ===== */

/* ===== POST TITLE ===== */
.post-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #2d2438;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 24px;
    word-break: break-word;
}

/* ===== POST CONTENT ===== */
.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3d334a;
}

.post-content p {
    margin-bottom: 18px;
}

.post-content p:last-child {
    margin-bottom: 0;
}

.post-content strong {
    color: #7c5f9e;
    font-weight: 700;
}

/* ===== POST FOOTER ===== */
.post-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 2px dashed #ede6f5;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tags a {
    background: #f3edf9;
    color: #5e4780;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.post-tags a:hover {
    background: #7c5f9e;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== COMMENT SECTION ===== */
.comment-respond {
       padding: 10px;
}

#reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d2438;
    margin-bottom: 18px;
}

#reply-title small {
    font-size: 0.85rem;
    font-weight: 400;
    margin-left: 12px;
}

#reply-title small a {
    color: #7c5f9e;
    text-decoration: none;
    transition: color 0.2s;
}

#reply-title small a:hover {
    color: #4a3566;
    text-decoration: underline;
}

.logged-in-as {
    font-size: 0.95rem;
    color: #5e4a73;
    margin-bottom: 16px;
    background: #f7f2fc;
    padding: 12px 18px;
    border-radius: 14px;
}

.logged-in-as a {
    color: #7c5f9e;
    text-decoration: none;
    font-weight: 500;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

.required-field-message {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #8a7a9e;
}

.required {
    color: #d45a6a;
}

.comment-form-comment {
    margin-top: 14px;
}

.comment-form-comment label {
    display: block;
    font-weight: 600;
    color: #2d2438;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e2d6ec;
    border-radius: 18px;
    font-size: 1rem;
    font-family: inherit;
    background: #faf8fc;
    color: #2d2438;
    resize: vertical;
    min-height: 140px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-form-comment textarea:focus {
    border-color: #b197d4;
    box-shadow: 0 0 0 6px rgba(177, 151, 212, 0.12);
}

.form-submit {
    margin-top: 18px;
}

#submit {
    background: #7c5f9e;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.4px;
}

#submit:hover {
    background: #6a4e8a;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(124, 95, 158, 0.3);
}

#submit:active {
    transform: scale(0.96) translateY(0);
}

/* ===== BACK TO TOP BUTTON ===== */
.to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #7c5f9e 0%, #9b7fb8 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(124, 95, 158, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    padding: 0;
    outline: none;
}

/* Visible state */
.to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Hover effects */
.to-top:hover {
    background: linear-gradient(135deg, #6a4e8a 0%, #8a6ea8 100%);
    box-shadow: 0 12px 36px rgba(124, 95, 158, 0.45);
    transform: translateY(-4px) scale(1.05);
}

.to-top:active {
    transform: scale(0.92) translateY(0);
    box-shadow: 0 4px 16px rgba(124, 95, 158, 0.25);
}

/* Icon inside the button */
.to-top img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    display: block;
}

.to-top:hover img {
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */


/* ===== ANIMATION ON SCROLL (optional) ===== */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(30px);
    }
    50% {
        transform: scale(1.05) translateY(-4px);
    }
    70% {
        transform: scale(0.95) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.to-top.visible {
    animation: bounceIn 0.5s ease forwards;
}


@media only screen and (max-width: 767px) {
	.page-content img{
		width:100%;
		        height: auto;
	}
}