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

body {
    font-family: 'Noto Sans Devanagari', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
}

.navigation {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Love Calculator Styles */
.love-calculator-section {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.calculator-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.calculator-container h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.calculator-subtitle {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 500;
}

.calculator-subtitle-hindi {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
}

.find-love-heading {
    font-size: 1.5rem;
    color: #ff6b9d;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.calculator-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.gender-selection {
    display: flex;
    gap: 2rem;
    margin-top: 0.8rem;
    justify-content: center;
}

.gender-selection label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: #555;
    font-weight: normal;
    transition: all 0.3s ease;
}

.gender-selection label:hover {
    color: #ff6b9d;
}

.gender-selection input[type="radio"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.gender-selection .fas {
    font-size: 1.1rem;
    color: #ff6b9d;
}

.heart-separator {
    font-size: 1.5rem;
    color: #ff6b9d;
    animation: heartbeat 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    margin: 0 0.5rem;
}

.love-symbol-center {
    text-align: center;
    font-size: 2.5rem;
    color: #ff6b9d;
    margin: 1.5rem 0;
    animation: heartbeat 2s ease-in-out infinite;
}

.calculate-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2rem auto 0;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.3);
}

.result-container {
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.result-content {
    text-align: center;
}

.heart-animation {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

.percentage-display {
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b9d;
    margin: 1rem 0;
}

.reset-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #5a6268;
}

/* Content Section */
.content-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.content-container h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-container p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tips-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.tips-list {
    list-style: none;
    margin-top: 1rem;
}

.tips-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tips-list .fas {
    color: #27ae60;
}

/* Post Content Styles */
.post-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.post-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    padding: 3rem;
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    opacity: 0.9;
}

.post-body {
    padding: 3rem;
}

.post-body h2 {
    color: #2c3e50;
    margin: 2.5rem 0 1.5rem 0;
    font-size: 2rem;
    border-bottom: 3px solid #ff6b9d;
    padding-bottom: 0.5rem;
}

.post-body h3 {
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.post-body h4 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.3rem;
}

.post-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.post-body strong {
    color: #ff6b9d;
    font-weight: 600;
}

/* Image Styles */
.image-container {
    text-align: center;
    margin: 2rem 0;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Highlight Boxes */
.highlight-box,
.safety-box,
.expert-advice {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left: 5px solid #ff6b9d;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 15px 15px 0;
}

.highlight-box h4,
.safety-box h4,
.expert-advice h4 {
    color: #ff6b9d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* App Cards */
.apps-list {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.app-card {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.app-card h3 {
    color: #ff6b9d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.app-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 1.5rem;
    gap: 1.5rem;
}

.app-info table {
    border-collapse: collapse;
    width: auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #f1f5f9;
}

.app-info table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
    background: #fafafa;
    transition: background 0.3s ease;
}

.app-info table tr:last-child td {
    border-bottom: none;
}

.app-info table tr:hover td {
    background: #f1f5f9;
}

.app-info table tr:hover td:first-child {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

.app-info table td:first-child {
    font-weight: 700;
    color: #2d3748;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-right: 2px solid #e2e8f0;
}

.download-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

.comparison-table th {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

/* Footer - Desktop/Laptop styles */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
    color: white !important;
    text-align: center !important;
    padding: 40px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    border: 1px solid #2d3748 !important;
    margin: 40px 20px 20px 20px !important;
}

/* Legacy footer class for compatibility */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 3rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ecf0f1;
}

.footer-section ul li i {
    width: 16px;
    margin-right: 8px;
    color: #ff6b9d;
}

.footer-bottom a {
    color: #ff6b9d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ecf0f1;
}

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

/* Responsive Design */
/* Desktop Specific Styles */
@media (min-width: 769px) {
    .app-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 1.5rem;
        gap: 1.5rem;
        width: 100%;
    }
    
    .app-info table {
        margin: 0 auto;
        text-align: center;
    }
    
    .app-info table td {
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .app-info table td:first-child {
        text-align: center;
        font-weight: 700;
    }
    
    .download-btn {
        margin: 0 auto;
        display: block;
        text-align: center;
        width: fit-content;
    }
}

/* Desktop Footer Content Styles */
@media (min-width: 769px) {
    footer .footer-content {
        max-width: 1000px !important;
        margin: 0 auto !important;
    }
    
    footer .footer-content > div:first-child {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 40px !important;
        margin-bottom: 30px !important;
        text-align: left !important;
    }
    
    footer .footer-content h3 {
        margin-bottom: 20px !important;
        color: #e2e8f0 !important;
        font-size: 1.3rem !important;
        font-weight: 600 !important;
    }
    
    footer .footer-content p {
        margin-bottom: 15px !important;
        line-height: 1.7 !important;
        opacity: 0.9 !important;
        font-size: 1rem !important;
    }
    
    footer .footer-content ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    footer .footer-content ul li {
        margin-bottom: 10px !important;
    }
    
    footer .footer-content ul li a {
        color: #e2e8f0 !important;
        text-decoration: none !important;
        transition: color 0.3s ease !important;
    }
    
    footer .footer-content ul li a:hover {
        color: #3498db !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .navigation {
        order: 2;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        order: 1;
    }

    .love-calculator-section,
    .content-section,
    .post-body {
        padding: 2rem 1.5rem;
    }

    .calculator-container h2 {
        font-size: 2rem;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .app-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .gender-selection {
        flex-direction: row;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile footer adjustments */
    footer {
        margin: 20px 10px !important;
        padding: 20px 15px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .footer-content h3 {
        font-size: 1.1rem !important;
    }
    
    .footer-content p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .love-calculator-section,
    .content-section,
    .post-body {
        padding: 1.5rem 1rem;
    }

    .calculator-form {
        padding: 1.5rem;
    }

    .calculator-container h2 {
        font-size: 1.75rem;
    }

    .post-header h1 {
        font-size: 1.75rem;
    }

    .post-body h2 {
        font-size: 1.5rem;
    }
    
    .gender-selection {
        gap: 1rem;
        justify-content: space-around;
    }
    
    .gender-selection label {
        font-size: 0.9rem;
    }
    
    .find-love-heading {
        font-size: 1.3rem;
    }
    
    .calculator-subtitle {
        font-size: 1.1rem;
    }
    
    .calculator-subtitle-hindi {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .download-btn {
        display: none;
    }

    .post-content {
        box-shadow: none;
    }
}
