﻿:root {
      --primary-color: rgb(22,163,74);
      --primary-hover: rgb(21,128,61);
      --primary-light: rgba(22,163,74,0.1);
      --primary-glow: rgba(22,163,74,0.2);
      --dark-color: #0f172a;
      --light-bg: #f8fafc;
      --white: #ffffff;
      --gray-text: #64748b;
      --border-color: #e2e8f0;
      --max-width: 1200px;
    }
    * { margin:0; padding:0; box-sizing:border-box; }
    body { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; background-color:var(--light-bg); color:var(--dark-color); line-height:1.6; }
    a { color:inherit; text-decoration:none; transition:all 0.3s ease; }
    ul { list-style:none; }
    img { max-width:100%; height:auto; }

    
    .site-header { background: var(--white); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
    .header-container { max-width: var(--max-width); margin: 0 auto; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
    .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
    .logo span { display: inline-block; font-size: 20px; font-weight: 800; line-height: 1; color: var(--primary-color); white-space: nowrap; letter-spacing: 0.5px; }
    .desktop-nav { display: flex; gap: 24px; align-items: center; }
    .desktop-nav a { font-size: 15px; font-weight: 600; color: var(--dark-color); transition: color 0.3s; }
    .desktop-nav a:hover, .desktop-nav a.active { color: var(--primary-color); }
    .header-actions { display: flex; align-items: center; gap: 15px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; font-size: 14px; font-weight: 600; border-radius: 8px; transition: all 0.3s; border: none; cursor: pointer; }
    .btn-primary { background: var(--primary-color); color: var(--white); box-shadow: 0 4px 10px var(--primary-glow); }
    .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
    .btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--gray-text); }
    .btn-outline:hover { background: var(--light-bg); border-color: var(--gray-text); }
    .menu-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 5px; }
    .menu-toggle span { display: block; width: 25px; height: 2px; background: var(--dark-color); transition: 0.3s; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 199; opacity: 0; visibility: hidden; transition: 0.3s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--white); z-index: 200; transition: 0.3s ease-out; display: flex; flex-direction: column; box-shadow: 4px 0 20px rgba(0,0,0,0.15); }
    .drawer-menu.active { left: 0; }
    .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: transparent; border: none; font-size: 28px; cursor: pointer; color: var(--gray-text); }
    .drawer-body { padding: 20px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; }
    .drawer-nav { display: flex; flex-direction: column; gap: 15px; }
    .drawer-nav a { font-size: 16px; font-weight: 600; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
    .drawer-nav a:hover { color: var(--primary-color); }
    .drawer-footer { margin-top: auto; padding-top: 20px; text-align: center; border-top: 1px solid var(--border-color); }
    .drawer-footer p { font-size: 12px; color: var(--gray-text); margin-bottom: 10px; }
    .btn-block { width: 100%; }

    
    .site-footer { background: #0f172a; color: #94a3b8; padding: 60px 0 0; border-top: 4px solid var(--primary-color); }
    .footer-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
    .footer-brand .logo span { color: var(--white); }
    .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.8; color: #64748b; }
    .footer-links h4, .footer-meta h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; font-weight: 700; position: relative; padding-bottom: 8px; }
    .footer-links h4::after, .footer-meta h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary-color); }
    .footer-links ul, .footer-meta ul { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a, .footer-meta a { font-size: 14px; color: #94a3b8; }
    .footer-links a:hover, .footer-meta a:hover { color: var(--primary-color); transform: translateX(5px); }
    .footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; text-align: center; }
    .footer-bottom-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; font-size: 13px; color: #64748b; line-height: 1.6; }

    
    .hero-section { background: radial-gradient(circle at top right, rgba(22,163,74,0.15), transparent), var(--white); padding: 80px 20px; border-bottom: 1px solid var(--border-color); }
    .hero-container { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
    .hero-text h1 { font-size: 42px; font-weight: 800; color: var(--dark-color); line-height: 1.2; margin-bottom: 20px; }
    .hero-text h1 span { color: var(--primary-color); }
    .hero-text p { font-size: 18px; color: var(--gray-text); margin-bottom: 30px; line-height: 1.8; }
    .hero-buttons { display: flex; gap: 15px; }
    .hero-visual { display: flex; justify-content: center; position: relative; }
    .hero-card { background: var(--white); border-radius: 16px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); border: 1px solid var(--border-color); width: 100%; max-width: 400px; padding: 25px; position: relative; overflow: hidden; }
    .hero-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--primary-color); }
    .hero-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; }
    .hero-card .badge { background: var(--primary-light); color: var(--primary-color); padding: 4px 8px; border-radius: 4px; font-size: 12px; }
    
    
    .lottery-ball-container { display: flex; gap: 8px; margin: 20px 0; justify-content: center; }
    .ball { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: var(--white); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    .ball.red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
    .ball.blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
    
    
    .stats-bar { background: var(--white); border-bottom: 1px solid var(--border-color); padding: 30px 20px; }
    .stats-container { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
    .stats-item h4 { font-size: 28px; font-weight: 800; color: var(--primary-color); }
    .stats-item p { font-size: 14px; color: var(--gray-text); }

    
    .features-section { padding: 80px 20px; max-width: var(--max-width); margin: 0 auto; }
    .section-title { text-align: center; margin-bottom: 5px; font-size: 32px; font-weight: 800; color: var(--dark-color); }
    .section-subtitle { text-align: center; color: var(--gray-text); margin-bottom: 50px; font-size: 16px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .feature-card { background: var(--white); border: 1px solid var(--border-color); padding: 40px 30px; border-radius: 12px; transition: all 0.3s; }
    .feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); border-color: var(--primary-color); }
    .feature-icon { width: 50px; height: 50px; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary-color); font-weight: 700; font-size: 20px; }
    .feature-card h3 { font-size: 20px; margin-bottom: 15px; font-weight: 700; }
    .feature-card p { color: var(--gray-text); font-size: 14px; line-height: 1.6; }

    
    .news-section { background: var(--white); padding: 80px 20px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
    .news-container { max-width: var(--max-width); margin: 0 auto; }
    .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .news-card { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; height: 100%; transition: all 0.3s; }
    .news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); }
    .news-image { height: 180px; overflow: hidden; position: relative; background: #e2e8f0; }
    .news-image img { width: 100%; height: 100%; object-fit: cover; }
    .news-meta-tag { position: absolute; top: 15px; left: 15px; background: var(--primary-color); color: var(--white); padding: 4px 10px; font-size: 12px; font-weight: 600; border-radius: 4px; }
    .news-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
    .news-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
    .news-content p { font-size: 14px; color: var(--gray-text); margin-bottom: 15px; flex: 1; }
    .news-footer { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--gray-text); padding-top: 15px; border-top: 1px solid var(--border-color); }
    .news-footer span { display: flex; align-items: center; gap: 5px; }

    
    .cta-section { background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)); color: var(--white); padding: 80px 20px; text-align: center; }
    .cta-content { max-width: 600px; margin: 0 auto; }
    .cta-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
    .cta-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
    .cta-content .btn { background: var(--white); color: var(--primary-color); font-size: 16px; padding: 12px 30px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    .cta-content .btn:hover { background: #f8fafc; transform: translateY(-1px); }

    @media (max-width: 992px) {
      .hero-container { grid-template-columns: 1fr; }
      .grid-3, .news-grid { grid-template-columns: 1fr; }
      .stats-container { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .desktop-nav, .header-actions .btn { display: none; }
      .menu-toggle { display: flex; }
      .footer-container { grid-template-columns: 1fr; gap: 30px; }
      .hero-section { padding: 40px 20px; }
      .hero-text h1 { font-size: 30px; }
    }