:root {
    --primary-color: #69B59E;
    --secondary-color: #f5b81e;
    --danger-color: #d32f2f;
    --success-color: #388e3c;
    --warning-color: #ff9800;
    --bg-primary: #ffffff;
    --bg-secondary: #f5b81e;
    --text-primary: brown;
    --text-secondary: #000;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-dark: 0 8px 16px rgba(0,0,0,0.2);
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

h2 {
    font-size: 2rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1em;
    color: var(--text-secondary);
}

ul, ol {
    margin-left: 2em;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

/* Site Wrapper */
.site-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border:2px green solid;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d47a1 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Navigation */
.main-nav {
    background-color: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem 0;
    border:1px red solid;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.1rem;
    color: var(--text-primary);
    border:1px green solid;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: 4px;
}

.nav-link:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Live Ticker */
.live-ticker {
    background-color: var(--danger-color);
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 15px;
}

.ticker-label {
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-text {
    display: block;
    font-size: 0.95rem;
}

/* Info Banner */
.info-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-light);
}

.update-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.update-date {
    font-weight: 600;
    font-size: 1.1rem;
}

.update-status {
    margin-left: auto;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Advertisement Containers */
.ad-container {
    margin: 1.5rem 0;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* Sections */
.section-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
    font-size: 2rem;
}

.section-title::before {
    content: attr(data-icon);
}

/* Live Results Section */
.live-results-section {
    margin-bottom: 2rem;
}

.live-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.live-result-card {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.live-result-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
    border-color: var(--secondary-color);
}

.result-game-name {
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--danger-color);
    background-color: var(--bg-primary);
    padding: 5px;
    border-radius: 100px;
    font-family: 'Monaco', 'Courier New', monospace;
    letter-spacing: 8px;
}

/* Featured Content Section */
.featured-content-section {
    margin-bottom: 2rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.featured-card {
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.featured-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.featured-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background-color: var(--danger-color);
    padding: 0.5rem;
    border-radius: 4px;
    color: white !important;
}

.featured-content {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.featured-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.featured-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Quick Results Section */
.quick-results-section {
    margin-bottom: 2rem;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.result-card {
    background: linear-gradient(#69B59E, #fff);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.result-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.result-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.result-card-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.result-comparison {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 6px;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.prev-result, .today-result {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--danger-color);
    font-family: 'Monaco', 'Courier New', monospace;
}

.arrow {
    color: var(--text-secondary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.result-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.result-link:hover {
    background-color: #0d47a1;
    text-decoration: none;
}

/* Monthly Chart Section */
.monthly-chart-section {
    margin-bottom: 2rem;
}

.chart-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.chart-wrapper {
    margin-bottom: 2rem;
}

.chart-table-wrapper {
    margin-bottom: 0.5rem;
}

.chart-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 6px 6px 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 0 0 6px 6px;
    box-shadow: var(--shadow-light);
}

.chart-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.chart-table thead {
    background-color: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
}

.chart-header-row {
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.chart-day-header, .chart-game-header {
    padding: 0.2rem;
    text-align: center;
    font-size: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.chart-data-row:nth-child(odd) {
    background-color: var(--bg-secondary);
}

.chart-day {
    padding: 0.50rem 0.30rem;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid var(--border-color);
    background-color: var(--primary-color);
    color: white;
}

.chart-number {
    padding: 0.75rem 1rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--danger-color);
    font-family: 'Monaco', 'Courier New', monospace;
}

.chart-number:last-child {
    border-right: none;
}

/* Chart Navigation */
.chart-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.nav-form {
    display: inline-block;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.nav-btn:hover {
    background-color: #f0a900;
    transform: scale(1.05);
}

/* Jodi Links Section */
.jodi-links-section {
    margin-bottom: 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.link-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.50rem;
    transition: all var(--transition-normal);
    color: var(--text-primary);
    text-decoration: none;
    border-bottom:3px red solid;
}

.link-card:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.link-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.link-text {
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 2rem;
    background-color: var(--bg-secondary);
    padding: 5px;
    border-radius: 8px;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

.faq-question {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-list {
    margin-left: 1.5em;
    list-style: disc;
}

.faq-list li {
    margin-bottom: 0.5rem;
}

/* Information Section */
.info-section {
    margin-bottom: 2rem;
}

.info-article {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.info-article h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Legal Warning Section */
.legal-warning {
    background: linear-gradient(135deg, var(--danger-color) 0%, #b71c1c 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
}

.warning-content {
    max-width: 900px;
    margin: 0 auto;
}

.warning-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.warning-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.warning-details {
    background-color: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid white;
}

.warning-details p {
    font-weight: 600;
    margin-bottom: 1rem;
}

.warning-list {
    list-style: disc;
    margin-left: 2em;
}

.warning-list li {
    margin-bottom: 0.75rem;
}

/* Footer Styles */
.site-footer {
    background-color: var(--text-primary);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-link-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    border-radius: 4px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.footer-link-btn:hover {
    background-color: #f0a900;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.footer-note {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-dark);
    transition: all var(--transition-fast);
    cursor: pointer;
    font-size: 0.85rem;
    text-align: center;
    padding: 0;
}

.fab-whatsapp {
    background-color: #25d366;
}

.fab-whatsapp:hover {
    background-color: #1fb256;
    transform: scale(1.1);
}

.fab-refresh {
    background-color: var(--primary-color);
}

.fab-refresh:hover {
    background-color: #0d47a1;
    transform: scale(1.1);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden {
    display: none !important;
}

.no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}