/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: -1;
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2s; }
.particle:nth-child(10) { left: 95%; animation-delay: 3s; }

/* Background Animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

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

body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 107, 107, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.logo i {
    margin-right: 10px;
    animation: heartbeat 2s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu a:active {
    transform: translateY(-1px) scale(1.02);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #ff6b6b, #ffa8a8, #ffb3ba);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    background: linear-gradient(45deg, #ff4757, #ff3838);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
}

.cta-button i {
    margin-right: 8px;
}

/* Floating Hearts Animation */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-hearts i {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.heart1 { top: 20%; left: 10%; font-size: 2rem; animation-delay: 0s; }
.heart2 { top: 60%; left: 80%; font-size: 1.5rem; animation-delay: 1s; }
.heart3 { top: 80%; left: 20%; font-size: 2.5rem; animation-delay: 2s; }
.heart4 { top: 30%; left: 70%; font-size: 1.8rem; animation-delay: 3s; }
.heart5 { top: 50%; left: 50%; font-size: 2rem; animation-delay: 4s; }

/* Shayari Section */
.shayari-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 0;
    position: relative;
}

.section-title i {
    margin-right: 15px;
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #ff6b6b;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.2);
}

.search-input {
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background: transparent;
    min-width: 250px;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.category-tab {
    background: white;
    border: 2px solid #e5e7eb;
    color: #666;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-tab:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.category-tab.active {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    border-color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.category-tab i {
    font-size: 1rem;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 2px solid #ff6b6b;
    border-radius: 25px;
    background: white;
    color: #ff6b6b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.shayari-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.shayari-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #ff6b6b;
    position: relative;
}

.shayari-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.shayari-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff6b6b;
}

.author-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
}

.post-date {
    font-size: 0.9rem;
    color: #666;
}

/* Enhanced Like Button */
.like-btn {
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 71, 87, 0.05));
    border: 2px solid rgba(255, 107, 107, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.1);
}

.like-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.like-btn:hover::before {
    left: 100%;
}

.like-btn:hover {
    transform: scale(1.15) rotate(5deg);
    color: #ff4757;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 71, 87, 0.15));
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.like-btn.liked {
    color: white;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    border-color: #ff4757;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    animation: heartBeat 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-btn i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.like-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.like-btn.liked .like-btn-text {
    color: white;
}

.share-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.comment-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Favorite Button */
.favorite-btn {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.favorite-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.favorite-btn:hover::before {
    left: 100%;
}

.favorite-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    background: linear-gradient(45deg, #d97706, #f59e0b);
}

.favorite-btn.favorited {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    animation: starTwinkle 0.6s ease;
}

.favorite-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

@keyframes starTwinkle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Enhanced Like Info */
.like-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(255, 71, 87, 0.05));
    border-radius: 25px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    transition: all 0.3s ease;
}

.like-info:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 71, 87, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.15);
}

.like-count {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(255, 107, 107, 0.2);
}

.like-text {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Enhanced Share Button */
.share-btn {
    background: linear-gradient(45deg, #4f46e5, #4338ca, #6366f1);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(45deg, #4338ca, #4f46e5, #6366f1);
}

/* Beautiful Comment Section */
.comment-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 107, 107, 0.1);
}

.comment-icon {
    color: #ff6b6b;
    font-size: 1.3rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 71, 87, 0.05));
    padding: 0.5rem;
    border-radius: 50%;
}

.comment-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.comment-count {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

/* Comment Input */
.comment-input {
    width: 100%;
    min-height: 80px;
    padding: 1rem;
    border: 2px solid rgba(255, 107, 107, 0.2);
    border-radius: 15px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.comment-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
    background: white;
    transform: translateY(-2px);
}

.comment-input::placeholder {
    color: #999;
    font-style: italic;
}

/* Comment Button */
.comment-btn {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.comment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.comment-btn:hover::before {
    left: 100%;
}

.comment-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(45deg, #059669, #10b981);
}

/* Comment Submit Button */
.comment-submit {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ff4757, #ff6b6b);
}

.comment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Comments List */
.comments-list {
    margin-top: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.comment-item {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border-left: 4px solid #ff6b6b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: slideInFromLeft 0.5s ease;
}

.comment-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comment-author {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.comment-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem;
}

.comment-date {
    color: #999;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Comment Actions */
.comment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 107, 107, 0.1);
}

.comment-action-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.comment-action-btn:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    transform: translateY(-1px);
}

/* Scrollbar Styling for Comments */
.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    border-radius: 10px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff4757, #ff6b6b);
}

/* Animation for Comments */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Heart Beat Animation */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

/* Shayari Content */
.shayari-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Shayari Footer */
.shayari-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Action Buttons Container */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: white;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    border-top-color: #ff6b6b;
    animation: spin 1s ease-in-out infinite;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h3 {
    color: #ff6b6b;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-actions {
    text-align: right;
}

.submit-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* AI Generator Modal */
.ai-modal {
    max-width: 600px;
    width: 90%;
}

.ai-generator-content {
    padding: 2rem;
}

.ai-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.ai-select {
    padding: 0.8rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ai-select:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.ai-generate-section {
    text-align: center;
    margin-bottom: 2rem;
}

.generate-btn {
    background: linear-gradient(45deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-animation p {
    color: #666;
    font-weight: 500;
}

.generated-shayari {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e5e7eb;
}

.generated-shayari h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.shayari-preview {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #8b5cf6;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.shayari-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn.primary {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.action-btn.secondary {
    background: linear-gradient(45deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.action-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

/* Floating Add Button */
.floating-add-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.floating-add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

/* Floating Options Menu */
.floating-options {
    position: absolute;
    bottom: 80px;
    right: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    z-index: 1000;
    animation: slideInFromBottom 0.3s ease;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 500;
}

.option-item:hover {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    transform: translateX(5px);
}

.option-item i {
    font-size: 1.2rem;
    width: 20px;
}

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

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

/* PWA Install Prompt - Removed */

/* Audio Controls */
.audio-controls {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
}

.music-toggle {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.music-toggle.playing {
    background: linear-gradient(45deg, #10b981, #059669);
    animation: pulse 2s infinite;
    transform: scale(1.05);
}

.music-toggle.playing i {
    animation: musicBeat 1s infinite;
}

.volume-control {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    transition: all 0.3s ease;
}

.volume-control:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.volume-slider {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.volume-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes musicBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Analytics Section */
.analytics-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.analytics-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 5px solid #ff6b6b;
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.analytics-icon {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.analytics-content {
    flex: 1;
}

.analytics-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1;
}

.analytics-label {
    color: #666;
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

/* Trending Section */
.trending-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trending-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #ff6b6b;
    position: relative;
    overflow: hidden;
}

.trending-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff4757, #ff6b6b);
    animation: shimmer 2s infinite;
}

.trending-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.trending-rank {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Quotes Section */
.quotes-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
}

.quotes-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-card {
    display: none;
    padding: 2rem;
}

.quote-card.active {
    display: block;
    animation: fadeIn 1s ease;
}

.quote-card p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.quote-author {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #2d3136;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
    color: #ff6b6b;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ff6b6b;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    opacity: 0.7;
}

/* Animations */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* New Poem Animation */
.new-shayari {
    animation: slideInFromTop 0.5s ease-out;
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes slideOutToLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* Mobile Controls */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-theme-toggle-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.mobile-theme-toggle-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.mobile-theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 0.5rem 0;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.mobile-nav-menu a:hover::before {
    left: 100%;
}

.mobile-nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
        position: relative;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 0;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin: 0;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }
    
    .nav-menu a:hover::before {
        left: 100%;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(10px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }
    
    .nav-menu a:active {
    transform: translateX(5px) scale(0.98);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.1);
}

/* Theme Selector */
.theme-selector {
    position: relative;
}

.theme-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-selector:hover .theme-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.theme-option:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.theme-option:last-child {
    margin-bottom: 0;
}

.theme-preview {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.theme-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.theme-preview::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    opacity: 0.8;
}

/* Theme Color Variables */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ff4757;
    --accent-color: #8b5cf6;
    --background-color: #ffffff;
    --text-color: #333333;
    --card-background: #ffffff;
    --border-color: #e5e7eb;
}

/* Default Theme */
body.theme-default {
    --primary-color: #ff6b6b;
    --secondary-color: #ff4757;
    --accent-color: #8b5cf6;
    --background-color: #ffffff;
    --text-color: #333333;
    --card-background: rgba(255, 255, 255, 0.9);
    --border-color: rgba(255, 255, 255, 0.2);
}

/* Sunset Theme */
body.theme-sunset {
    --primary-color: #ff7f50;
    --secondary-color: #ff6347;
    --accent-color: #ff8c00;
}

/* Ocean Theme */
body.theme-ocean {
    --primary-color: #4facfe;
    --secondary-color: #00f2fe;
    --accent-color: #667eea;
}

/* Forest Theme */
body.theme-forest {
    --primary-color: #56ab2f;
    --secondary-color: #a8e6cf;
    --accent-color: #11998e;
}

/* Purple Theme */
body.theme-purple {
    --primary-color: #8b5cf6;
    --secondary-color: #7c3aed;
    --accent-color: #a855f7;
}

/* Apply theme colors */
body {
    background: var(--background-color);
    color: var(--text-color);
}

.shayari-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
}

.like-btn, .share-btn, .comment-btn, .favorite-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.analytics-card {
    border-left: 5px solid var(--primary-color);
}

.analytics-icon {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.trending-card {
    border-left: 5px solid var(--primary-color);
}

.trending-card::before {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.trending-rank {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.category-tab.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.generate-btn {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
}

/* Theme Preview Colors */
.default-theme::before {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
}

.sunset-theme::before {
    background: linear-gradient(45deg, #ff7f50, #ff6347);
}

.ocean-theme::before {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.forest-theme::before {
    background: linear-gradient(45deg, #56ab2f, #a8e6cf);
}

.purple-theme::before {
    background: linear-gradient(45deg, #8b5cf6, #7c3aed);
}

/* Dark Theme Styles */
body.dark-theme {
    color: #fff;
    background: #000000 !important;
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ff6b6b;
    --background-color: #000000;
    --text-color: #ffffff;
    --card-background: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme::before {
    background: linear-gradient(-45deg, #000000, #1a1a1a, #0a0a0a, #000000);
    animation: gradientShift 15s ease infinite;
}

body.dark-theme::after {
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(118, 75, 162, 0.2) 0%, transparent 50%);
}

/* Header and Navigation */
body.dark-theme .header {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .logo {
    color: #667eea;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
    font-weight: 700;
}

body.dark-theme .logo i {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.4);
}

body.dark-theme .nav-menu a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

body.dark-theme .nav-menu a::before {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

/* Hero Section */
body.dark-theme .hero-title {
    color: #667eea;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
    font-weight: 700;
}

body.dark-theme .hero-subtitle {
    color: #ff6b6b;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
    font-weight: 600;
}

body.dark-theme .hero-description {
    color: #764ba2;
    text-shadow: 0 0 10px rgba(118, 75, 162, 0.3);
}

/* Shayari Cards */
body.dark-theme .shayari-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark-theme .shayari-card:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

body.dark-theme .author-name {
    color: #667eea;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

body.dark-theme .post-date {
    color: #ff6b6b;
    font-weight: 500;
}

body.dark-theme .shayari-content p {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    font-weight: 500;
    line-height: 1.8;
}

/* Buttons and Interactive Elements */
body.dark-theme .like-btn,
body.dark-theme .share-btn,
body.dark-theme .comment-btn,
body.dark-theme .favorite-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-theme .like-btn:hover,
body.dark-theme .share-btn:hover,
body.dark-theme .comment-btn:hover,
body.dark-theme .favorite-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .like-btn.liked {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    border-color: #ff6b6b;
}

body.dark-theme .favorite-btn.favorited {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-color: #ffd700;
    color: #333;
}

/* Theme Toggle */
body.dark-theme .theme-toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .mobile-theme-toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .mobile-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .mobile-theme-toggle-nav {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .mobile-theme-toggle-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Mobile Menu */
body.dark-theme .mobile-menu-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .mobile-menu-header h3 {
    color: #fff;
}

body.dark-theme .mobile-nav-menu a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .mobile-nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Search and Filters */
body.dark-theme .search-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .search-input {
    color: #fff;
    background: transparent;
}

body.dark-theme .search-input::placeholder {
    color: #ccc;
}

body.dark-theme .search-btn {
    color: #fff;
}

body.dark-theme .category-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-theme .category-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .category-tab.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-color: #667eea;
}

/* Comments Section */
body.dark-theme .comment-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-theme .comment-input::placeholder {
    color: #ccc;
}

body.dark-theme .comment-submit {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
}

body.dark-theme .comment-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Analytics and Trending */
body.dark-theme .analytics-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .trending-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Quotes Section */
body.dark-theme .quote-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .quote-card p {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    font-weight: 600;
    line-height: 1.8;
}

body.dark-theme .quote-author {
    color: #667eea;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

/* Footer */
body.dark-theme .footer {
    background: rgba(26, 26, 46, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .footer-logo {
    color: #667eea;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
    font-weight: 700;
}

body.dark-theme .footer-logo i {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.4);
}

body.dark-theme .social-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Modal */
body.dark-theme .modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .modal-header h3 {
    color: #667eea;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.4);
}

body.dark-theme .form-group label {
    color: #667eea;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

body.dark-theme .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-theme .form-group textarea::placeholder {
    color: #ccc;
}

/* Floating Elements */
body.dark-theme .floating-add-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

body.dark-theme .floating-add-btn:hover {
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

/* Audio Controls */
body.dark-theme .music-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-theme .music-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .volume-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .volume-label {
    color: #fff;
}

/* Additional Dark Theme Styles */
body.dark-theme .section-title {
    color: #667eea;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    font-weight: 700;
}

body.dark-theme .section-subtitle {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    font-weight: 600;
}

body.dark-theme .load-more-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-theme .load-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .like-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .like-count {
    color: #ff6b6b;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

body.dark-theme .like-text {
    color: #764ba2;
    font-weight: 500;
}

body.dark-theme .comment-header {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .comment-title {
    color: #667eea;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

body.dark-theme .comment-count {
    color: #ff6b6b;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

body.dark-theme .comment-author {
    color: #667eea;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

body.dark-theme .comment-text {
    color: #ffffff;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

body.dark-theme .comment-date {
    color: #ff6b6b;
    font-weight: 500;
}

body.dark-theme .comment-action-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .comment-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .floating-options {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .option-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-theme .option-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Dark theme install prompt styles removed */

/* Particles in dark mode */
body.dark-theme .particle {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Floating hearts in dark mode */
body.dark-theme .floating-hearts i {
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Analytics Labels in Dark Theme */
body.dark-theme .analytics-label {
    color: #ff6b6b;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

body.dark-theme .analytics-number {
    color: #667eea;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
    font-size: 2.5rem;
}
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .shayari-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-card p {
        font-size: 1.2rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .floating-add-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .shayari-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .like-btn {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.8rem !important;
        gap: 0.35rem !important;
        flex: 0 0 auto !important;
        min-width: auto !important;
        background: linear-gradient(45deg, #ff6b6b, #ff4757) !important;
        color: white !important;
        border: none !important;
        border-radius: 10px !important;
        transition: all 0.3s ease !important;
        line-height: 1 !important;
    }
    
    .share-btn {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.8rem !important;
        gap: 0.35rem !important;
        flex: 0 0 auto !important;
        min-width: auto !important;
        background: linear-gradient(45deg, #4facfe, #00f2fe) !important;
        color: white !important;
        border: none !important;
        border-radius: 10px !important;
        transition: all 0.3s ease !important;
        line-height: 1 !important;
    }
    
    .comment-btn {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.8rem !important;
        gap: 0.35rem !important;
        flex: 0 0 auto !important;
        min-width: auto !important;
        background: linear-gradient(45deg, #8b5cf6, #7c3aed) !important;
        color: white !important;
        border: none !important;
        border-radius: 10px !important;
        transition: all 0.3s ease !important;
        line-height: 1 !important;
    }
    
    .favorite-btn {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.8rem !important;
        gap: 0.35rem !important;
        flex: 0 0 auto !important;
        min-width: auto !important;
        background: linear-gradient(45deg, #f59e0b, #d97706) !important;
        color: white !important;
        border: none !important;
        border-radius: 10px !important;
        transition: all 0.3s ease !important;
        line-height: 1 !important;
    }
    
    .like-btn-text {
        font-size: 0.75rem !important;
        color: white !important;
        font-weight: 600 !important;
    }
    
    .share-btn-text {
        font-size: 0.75rem !important;
        color: white !important;
        font-weight: 600 !important;
    }
    
    .comment-btn-text {
        font-size: 0.75rem !important;
        color: white !important;
        font-weight: 600 !important;
    }

    /* Smaller icon size on mobile */
    .action-buttons .like-btn i,
    .action-buttons .share-btn i,
    .action-buttons .comment-btn i,
    .action-buttons .favorite-btn i {
        font-size: 1rem !important;
    }
    
    /* Mobile Button Hover Effects */
    .like-btn:hover,
    .share-btn:hover,
    .comment-btn:hover,
    .favorite-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    }
    
    .like-btn.liked {
        background: linear-gradient(45deg, #ff6b6b, #ff4757) !important;
        color: white !important;
    }
    
    .favorite-btn.favorited {
        background: linear-gradient(45deg, #ffd700, #ffed4e) !important;
        color: #333 !important;
    }
    
    .like-info {
        padding: 0.6rem 1rem;
        align-self: flex-start;
    }
    
    .comment-section {
        padding: 1rem;
    }
    
    .comment-input {
        min-height: 60px;
        padding: 0.8rem;
    }
    
    .comment-submit {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .shayari-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* Dark Theme Mobile Buttons */
    body.dark-theme .like-btn,
    body.dark-theme .share-btn,
    body.dark-theme .comment-btn,
    body.dark-theme .favorite-btn {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: #fff !important;
    }
    
    body.dark-theme .like-btn:hover,
    body.dark-theme .share-btn:hover,
    body.dark-theme .comment-btn:hover,
    body.dark-theme .favorite-btn:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
    }
    
    body.dark-theme .like-btn.liked {
        background: linear-gradient(45deg, #ff6b6b, #ff4757) !important;
        border-color: #ff6b6b !important;
        color: white !important;
    }
    
    body.dark-theme .favorite-btn.favorited {
        background: linear-gradient(45deg, #ffd700, #ffed4e) !important;
        border-color: #ffd700 !important;
        color: #333 !important;
    }
    
    body.dark-theme .like-btn-text,
    body.dark-theme .share-btn-text,
    body.dark-theme .comment-btn-text {
        color: #fff !important;
        font-weight: 600 !important;
    }
    
    body.dark-theme .favorite-btn.favorited .favorite-btn-text {
        color: #333 !important;
        font-weight: 600 !important;
    }
}

/* Mobile Button Colors - High Specificity Override */
@media (max-width: 768px) {
    /* Enhanced Shayari Cards for Mobile */
    .shayari-card {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%) !important;
        border-radius: 25px !important;
        padding: 1.5rem !important;
        margin: 1rem 0.5rem !important;
        box-shadow: 
            0 10px 30px rgba(255, 107, 107, 0.15),
            0 5px 15px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
        border: 2px solid rgba(255, 107, 107, 0.1) !important;
        position: relative !important;
        overflow: hidden !important;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }
    
    .shayari-card::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 4px !important;
        background: linear-gradient(90deg, #ff6b6b, #ff4757, #ff6b6b) !important;
        background-size: 200% 100% !important;
        animation: gradientShift 3s ease infinite !important;
    }
    
    .shayari-card::after {
        content: '💕' !important;
        position: absolute !important;
        top: 1rem !important;
        right: 1rem !important;
        font-size: 1.5rem !important;
        opacity: 0.3 !important;
        animation: float 3s ease-in-out infinite !important;
    }
    
    .shayari-card:hover {
        transform: translateY(-8px) scale(1.02) !important;
        box-shadow: 
            0 20px 40px rgba(255, 107, 107, 0.25),
            0 10px 25px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(255, 107, 107, 0.3) !important;
    }
    
    .shayari-card .shayari-header {
        margin-bottom: 1.2rem !important;
        padding-bottom: 1rem !important;
        border-bottom: 1px solid rgba(255, 107, 107, 0.1) !important;
    }
    
    .shayari-card .author-info {
        gap: 0.8rem !important;
    }
    
    .shayari-card .author-avatar {
        width: 45px !important;
        height: 45px !important;
        border: 3px solid #ff6b6b !important;
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
        animation: pulse 2s ease-in-out infinite !important;
    }
    
    .shayari-card .author-name {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: #333 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }
    
    .shayari-card .post-date {
        font-size: 0.85rem !important;
        color: #666 !important;
        font-weight: 500 !important;
    }
    
    .shayari-card .shayari-content p {
        font-size: 1.1rem !important;
        line-height: 1.8 !important;
        color: #2c3e50 !important;
        font-weight: 500 !important;
        text-align: center !important;
        padding: 1rem 0.5rem !important;
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 71, 87, 0.02)) !important;
        border-radius: 15px !important;
        border: 1px solid rgba(255, 107, 107, 0.1) !important;
        margin: 1rem 0 !important;
        position: relative !important;
    }
    
    .shayari-card .shayari-content p::before {
        content: '"' !important;
        position: absolute !important;
        top: -0.5rem !important;
        left: 1rem !important;
        font-size: 3rem !important;
        color: #ff6b6b !important;
        opacity: 0.3 !important;
        font-family: serif !important;
    }
    
    .shayari-card .shayari-content p::after {
        content: '"' !important;
        position: absolute !important;
        bottom: -1.5rem !important;
        right: 1rem !important;
        font-size: 3rem !important;
        color: #ff6b6b !important;
        opacity: 0.3 !important;
        font-family: serif !important;
    }
    
    .shayari-card .shayari-footer {
        margin-top: 1.5rem !important;
        padding-top: 1rem !important;
        border-top: 1px solid rgba(255, 107, 107, 0.1) !important;
    }
    
    .shayari-card .action-buttons {
        gap: 0.4rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    /* Enhanced Action Buttons for Mobile */
    .shayari-card .action-buttons .like-btn {
        background: linear-gradient(45deg, #ff6b6b, #ff4757) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 3px 10px rgba(255, 107, 107, 0.25) !important;
        border-radius: 12px !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        position: relative !important;
        overflow: hidden !important;
        line-height: 1 !important;
    }
    
    .shayari-card .action-buttons .share-btn {
        background: linear-gradient(45deg, #4facfe, #00f2fe) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 3px 10px rgba(79, 172, 254, 0.25) !important;
        border-radius: 12px !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        position: relative !important;
        overflow: hidden !important;
        line-height: 1 !important;
    }
    
    .shayari-card .action-buttons .comment-btn {
        background: linear-gradient(45deg, #8b5cf6, #7c3aed) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 3px 10px rgba(139, 92, 246, 0.25) !important;
        border-radius: 12px !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        position: relative !important;
        overflow: hidden !important;
        line-height: 1 !important;
    }
    
    .shayari-card .action-buttons .favorite-btn {
        background: linear-gradient(45deg, #f59e0b, #d97706) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25) !important;
        border-radius: 12px !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        position: relative !important;
        overflow: hidden !important;
        line-height: 1 !important;
    }
    
    /* Hover effects */
    .shayari-card .action-buttons .like-btn:hover {
        background: linear-gradient(45deg, #ff4757, #ff6b6b) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4) !important;
    }
    
    .shayari-card .action-buttons .share-btn:hover {
        background: linear-gradient(45deg, #00f2fe, #4facfe) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4) !important;
    }
    
    .shayari-card .action-buttons .comment-btn:hover {
        background: linear-gradient(45deg, #7c3aed, #8b5cf6) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4) !important;
    }
    
    .shayari-card .action-buttons .favorite-btn:hover {
        background: linear-gradient(45deg, #d97706, #f59e0b) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4) !important;
    }
    
    /* Active states */
    .shayari-card .action-buttons .like-btn.liked {
        background: linear-gradient(45deg, #ff6b6b, #ff4757) !important;
        color: white !important;
        animation: heartBeat 0.6s ease !important;
    }
    
    .shayari-card .action-buttons .favorite-btn.favorited {
        background: linear-gradient(45deg, #ffd700, #ffed4e) !important;
        color: #333 !important;
        animation: starTwinkle 0.6s ease !important;
    }
    
    /* Text colors */
    .shayari-card .action-buttons .like-btn-text {
        color: white !important;
        font-weight: 600 !important;
    }
    
    .shayari-card .action-buttons .share-btn-text {
        color: white !important;
        font-weight: 600 !important;
    }
    
    .shayari-card .action-buttons .comment-btn-text {
        color: white !important;
        font-weight: 600 !important;
    }
    
    .shayari-card .action-buttons .favorite-btn-text {
        color: white !important;
        font-weight: 600 !important;
    }
    
    .shayari-card .action-buttons .favorite-btn.favorited .favorite-btn-text {
        color: #333 !important;
        font-weight: 600 !important;
    }
    
    /* Enhanced Like Info for Mobile */
    .shayari-card .like-info {
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 71, 87, 0.05)) !important;
        border-radius: 15px !important;
        padding: 0.8rem 1rem !important;
        margin: 1rem 0 !important;
        border: 1px solid rgba(255, 107, 107, 0.2) !important;
        text-align: center !important;
    }
    
    .shayari-card .like-count {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: #ff6b6b !important;
        text-shadow: 0 1px 2px rgba(255, 107, 107, 0.3) !important;
    }
    
    .shayari-card .like-text {
        font-size: 0.9rem !important;
        color: #666 !important;
        font-weight: 500 !important;
    }
    
    /* Enhanced Comment Section for Mobile */
    .shayari-card .comment-section {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(124, 58, 237, 0.02)) !important;
        border-radius: 15px !important;
        padding: 1rem !important;
        margin-top: 1rem !important;
        border: 1px solid rgba(139, 92, 246, 0.1) !important;
    }
    
    .shayari-card .comment-input {
        border-radius: 20px !important;
        padding: 0.8rem 1.2rem !important;
        font-size: 0.95rem !important;
        border: 2px solid rgba(139, 92, 246, 0.2) !important;
        background: rgba(255, 255, 255, 0.8) !important;
    }
    
    .shayari-card .comment-submit {
        border-radius: 20px !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        background: linear-gradient(45deg, #8b5cf6, #7c3aed) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3) !important;
    }
    
    /* Dark theme overrides */
    body.dark-theme .shayari-card .action-buttons .like-btn,
    body.dark-theme .shayari-card .action-buttons .share-btn,
    body.dark-theme .shayari-card .action-buttons .comment-btn,
    body.dark-theme .shayari-card .action-buttons .favorite-btn {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: #fff !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }
    
    body.dark-theme .shayari-card .action-buttons .like-btn:hover,
    body.dark-theme .shayari-card .action-buttons .share-btn:hover,
    body.dark-theme .shayari-card .action-buttons .comment-btn:hover,
    body.dark-theme .shayari-card .action-buttons .favorite-btn:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    }
    
    body.dark-theme .shayari-card .action-buttons .like-btn.liked {
        background: linear-gradient(45deg, #ff6b6b, #ff4757) !important;
        border-color: #ff6b6b !important;
        color: white !important;
    }
    
    body.dark-theme .shayari-card .action-buttons .favorite-btn.favorited {
        background: linear-gradient(45deg, #ffd700, #ffed4e) !important;
        border-color: #ffd700 !important;
        color: #333 !important;
    }
    
    body.dark-theme .shayari-card .action-buttons .like-btn-text,
    body.dark-theme .shayari-card .action-buttons .share-btn-text,
    body.dark-theme .shayari-card .action-buttons .comment-btn-text {
        color: #fff !important;
    }
    
    body.dark-theme .shayari-card .action-buttons .favorite-btn.favorited .favorite-btn-text {
        color: #333 !important;
    }
}

/* Dark Theme Shayari Text Fix */
body.dark-theme .shayari-content p {
    color: #000 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

body.dark-theme .shayari-card {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #000 !important;
}

body.dark-theme .shayari-card .author-name {
    color: #333 !important;
}

body.dark-theme .shayari-card .post-date {
    color: #666 !important;
}

body.dark-theme .shayari-card .like-info {
    color: #333 !important;
}

body.dark-theme .shayari-card .like-count {
    color: #333 !important;
}

body.dark-theme .shayari-card .like-text {
    color: #333 !important;
}

/* Dark Theme Mobile Card Enhancements */
@media (max-width: 768px) {
    body.dark-theme .shayari-card {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%) !important;
        border-color: rgba(255, 107, 107, 0.2) !important;
        box-shadow: 
            0 10px 30px rgba(255, 107, 107, 0.2),
            0 5px 15px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }
    
    body.dark-theme .shayari-card:hover {
        box-shadow: 
            0 20px 40px rgba(255, 107, 107, 0.3),
            0 10px 25px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 107, 107, 0.4) !important;
    }
    
    body.dark-theme .shayari-card .shayari-content p {
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 71, 87, 0.05)) !important;
        border-color: rgba(255, 107, 107, 0.2) !important;
        color: #e2e8f0 !important;
    }
    
    body.dark-theme .shayari-card .like-info {
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 71, 87, 0.08)) !important;
        border-color: rgba(255, 107, 107, 0.3) !important;
    }
    
    body.dark-theme .shayari-card .comment-section {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.05)) !important;
        border-color: rgba(139, 92, 246, 0.2) !important;
    }
    
    body.dark-theme .shayari-card .comment-input {
        background: rgba(45, 55, 72, 0.8) !important;
        border-color: rgba(139, 92, 246, 0.3) !important;
        color: #e2e8f0 !important;
    }
}