/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    width: 100%;
    max-width: 750px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: translateY(-2px);
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.logo-link {
    position: relative;
    z-index: 1;
}

.logo-link img {
    width: 200px;
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link img:hover {
    transform: scale(1.05);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.navbar a:hover::before {
    left: 0;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Live Indicator */
.live-text {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #ff4757;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: pulse 2s infinite;
    margin: 20px 0;
    padding: 10px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 25px;
    border: 2px solid rgba(255, 71, 87, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Result Tables */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.result-table th,
.result-table td {
    border: none;
    padding: 15px;
    text-align: center;
    font-size: 16px;
}

.result-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-table td {
    background: #fff;
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.3s ease;
}

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

.result-table td[style*="font-size:30px"],
.result-table td[style*="font-size:25px"] {
    font-weight: bold;
    color: #2c3e50;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

/* Buttons */
.result-link {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

.result-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.4);
}

.whatsapp-button1 {
    display: inline-block;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whatsapp-button1:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Category Buttons */
.category-section {
    padding: 20px;
}

.category-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 10px;
}

.category-button {
    flex: 1;
    padding: 15px;
    font-size: 14px;
    text-align: center;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-button:nth-child(1) {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.category-button:nth-child(2) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.category-button:nth-child(3) {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.category-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Share Box */
.sharebox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.sharecount .count {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.sharecount .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.icons {
    display: flex;
    gap: 10px;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.icon:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.icon img {
    width: 20px;
    height: 20px;
}

/* Live Label Strip */
.live-label-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 25px auto;
    padding: 0 20px;
}

.live-label-strip .line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    border-radius: 2px;
    opacity: 0.7;
}

.live-label {
    display: inline-flex;
    align-items: center;
    border: 2px solid #ff4757;
    color: #ff4757;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.2);
    transition: all 0.3s ease;
    background: rgba(255, 71, 87, 0.05);
}

.live-label:hover {
    transform: scale(1.05);
    background: rgba(255, 71, 87, 0.1);
}

.live-dot {
    width: 12px;
    height: 12px;
    background-color: #ff4757;
    border-radius: 50%;
    animation: pulseDot 1.5s infinite ease-in-out;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* Main Content */
.main-content {
    padding: 30px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.important-pages {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.important-pages a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.important-pages a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sub-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 8px;
    }
    
    .navbar a {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .category-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .category-button {
        font-size: 16px;
        padding: 18px;
    }
    
    .result-table th,
    .result-table td {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .live-label {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .sharebox {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-wrap: wrap;
        gap: 5px;
        padding: 10px;
    }
    
    .navbar a {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .result-table th,
    .result-table td {
        padding: 10px 5px;
        font-size: 12px;
    }
    
    .category-button {
        font-size: 14px;
        padding: 15px;
    }
    
    .live-label-strip {
        padding: 0 10px;
    }
    
    .main-content {
        padding: 20px 15px;
    }
}

/* Loading Animation */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

