.lotto-home-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    column-gap: 20px;
    row-gap: 40px;
    margin-bottom: 40px;
}
.lotto-2d-lotto-2pm,.lotto-2d-lotto-5pm,.lotto-2d-lotto-9pm {
    border-top-color: #e74c3c !important;
}

.lotto-3d-lotto-2pm,.lotto-3d-lotto-5pm,.lotto-3d-lotto-9pm {
    border-top-color: #f39c12 !important;
}
.lotto-ultra-lotto-658 {
    border-top-color: #e84393 !important;
}

.lotto-super-lotto-649 {
    border-top-color: #d35400 !important;
}
 .lotto-game
 {
    margin: 0;
    background: #fafafa;
    border: 1px solid #dde6ed;
    border-top-width: 6px;
    border-top-style: solid;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lotto-heading {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #2c3e50;
    text-align: center;
    font-weight: 600;
}
.lotto-numbers {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.lotto-2d-lotto .lotto-number {
    background: #e74c3c;
}
.lotto-logo {
    max-width: 80px;
    height: auto;
    display: block;
}
.lotto-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 6px 6px 0;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.25rem;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: #3498db;
    padding: 0;
    transition: transform 0.3s ease;
}

.lotto-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.lotto-reminder-section, .lotto-faq-section {
    background-color: #ffffff;
    padding: 32px 28px;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.reminder-title, .faq-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    position: relative;
    padding-left: 16px;
}
.reminder-item {
    background-color: #f7fafd;
    padding: 16px 20px;
    margin-bottom: 14px;
    border-radius: 10px;
    font-size: 15px;
    color: #2c3e50;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.faq-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.lotto-grid-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
}
.lotto-grid-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 4px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.lotto-sidebar-card {
    background: #fff;
    border: 1px solid #d9eaf7;
    border-top: 5px solid #3498db;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 30px;
}
.lotto-next-draw-label {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    text-align: center;
}
.lotto-subtext {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: center;
}
.lotto-section-sub {
    margin-top: 15px;
    margin-bottom: 20px;
    text-align: center;
}
.lotto-boxed-ball {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 12px 10px;
    margin: 8px;
    border-radius: 10px;
    min-width: 70px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #dfe9f1;
    transition: all 0.2s ease-in-out;
}
.lotto-ball-label {
    font-size: 12px;
    color: #444;
    line-height: 1.3;
    text-align: center;
}

.lotto-info p {
    margin: 6px 0;
    color: #333;
    font-size: 16px;
}

.lotto-result-page p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.lotto-grid-table thead {
    background: #3498db;
    color: #fff;
    font-size: 16px;
}

.lotto-grid-table th, .lotto-grid-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
}

/* SEO & New Styles */
.pcso-results-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.pcso-intro {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px;
}

.pcso-intro p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.pcso-intro p:last-child {
    margin-bottom: 0;
}

.pcso-note {
    font-size: 14px;
    opacity: 0.9;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.pcso-section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pcso-date-badge {
    background: #3498db;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pcso-no-results {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #666;
}

/* Internal Links Section */
.pcso-internal-links {
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid #3498db;
}

.pcso-internal-links h3 {
    margin: 0 0 15px;
    font-size: 1.1rem;
    color: #2c3e50;
}

.pcso-link-group {
    margin-bottom: 12px;
}

.pcso-link-group:last-child {
    margin-bottom: 0;
}

.pcso-link-group a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s;
}

.pcso-link-group a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Game Info Section */
.lotto-game-info {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #bee3f8;
}

.lotto-game-info p {
    margin: 0 0 8px;
    color: #2c5282;
}

.lotto-game-info p:last-child {
    margin-bottom: 0;
}

/* Latest Section */
.lotto-latest-section {
    margin-bottom: 40px;
}

.lotto-latest-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

/* History Section */
.lotto-history-section {
    margin-bottom: 40px;
}

.lotto-history-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.table-responsive {
    overflow-x: auto;
}

/* Stats Section */
.lotto-stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .lotto-home-wrapper {
        grid-template-columns: 1fr;
    }
    
    .pcso-section-title {
        font-size: 1.4rem;
    }
    
    .lotto-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lotto-grid-table {
        font-size: 13px;
    }
    
    .lotto-grid-ball {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .pcso-intro {
        padding: 15px;
    }
    
    .lotto-stats-section {
        grid-template-columns: 1fr;
    }
}

/* Animation for numbers */
@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.lotto-number {
    animation: popIn 0.3s ease-out forwards;
}

.lotto-number:nth-child(1) { animation-delay: 0.1s; }
.lotto-number:nth-child(2) { animation-delay: 0.2s; }
.lotto-number:nth-child(3) { animation-delay: 0.3s; }
.lotto-number:nth-child(4) { animation-delay: 0.4s; }
.lotto-number:nth-child(5) { animation-delay: 0.5s; }
.lotto-number:nth-child(6) { animation-delay: 0.6s; }

/* Print styles */
@media print {
    .pcso-internal-links,
    .lotto-faq-section,
    .lotto-reminder-section {
        display: none;
    }
    
    .lotto-game {
        break-inside: avoid;
    }
}