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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: linear-gradient(180deg, #ffe8f0 0%, #ffd8e8 50%, #ffc8e0 100%);
    min-height: 100vh;
    color: #333;
}

/* Top Black Header with Tiger Logo */
.top-black-header {
    background-color: #000000;
    padding: 15px 0;
    border-bottom: 3px solid #ff8c00;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-section-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tiger-logo {
    height: 80px;
    width: auto;
}

.satta-text {
    font-size: 3rem;
    font-weight: bold;
    color: #ff8c00;
    letter-spacing: 3px;
}

/* Religious Banner */
.religious-banner {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #87ceeb 0%, #b0e0e6 100%);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Top Navigation */
.top-nav {
    background-color: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-logo-small {
    height: 30px;
    width: auto;
}

.nav-left span {
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-left span:hover {
    color: #6c5ce7;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffd4e8 0%, #ffb8d4 100%);
    padding: 40px 20px;
    margin: 20px auto;
    border-radius: 12px;
    max-width: 95%;
}

.hero-logo-box {
    display: inline-block;
    text-align: center;
}

.main-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.logo-text-box {
    background: white;
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 1.5rem;
    font-weight: bold;
    color: #6c5ce7;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a8b8b;
    margin: 20px 0 10px;
}

.hero-subtitle {
    color: #666;
    font-size: 1rem;
}

/* Sidebar Card */
.sidebar-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.sidebar-card h5 {
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6c5ce7;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin: 12px 0;
}

.sidebar-menu li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.sidebar-menu li a:hover {
    color: #6c5ce7;
}

/* Main Content Wrapper */
.main-content-wrapper {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.main-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1a8b8b;
}

.trophy-badge-main {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
}

.trophy-badge-main i {
    color: white;
    font-size: 32px;
}

.main-subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
}

/* Notice Banner */
.notice-banner {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.info-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.info-text a {
    color: #6c5ce7;
    text-decoration: none;
}

.info-text a:hover {
    text-decoration: underline;
}

/* Action Buttons */
.action-buttons {
    margin: 20px 0;
}

.btn-action {
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 10px;
    transition: transform 0.3s;
}

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

.btn-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.btn-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Games Container */
.games-container {
    margin-top: 30px;
}

.game-card-new {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    height: 100%;
}

.game-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(108,92,231,0.2);
    border-color: #6c5ce7;
}

.game-ribbon {
    position: absolute;
    top: -10px;
    left: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.game-ribbon i {
    color: white;
    font-size: 24px;
}

.game-image {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: auto;
    display: block;
}

.game-card-new h5 {
    color: #333;
    font-weight: bold;
    margin: 25px 0 10px;
    font-size: 1.1rem;
}

.game-time {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.game-numbers {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.number-box {
    background: linear-gradient(135deg, #ffd4e8 0%, #ffb8d4 100%);
    color: #c44569;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 1.1rem;
}

.btn-game-view {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-game-view:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Contact Banner */
.contact-banner {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-banner h3 {
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-info-box {
    background: linear-gradient(135deg, #ffd4e8 0%, #ffb8d4 100%);
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
    display: inline-block;
}

.contact-info-box i {
    font-size: 40px;
    color: #c44569;
    margin-bottom: 15px;
}

.contact-info-box h4 {
    color: #333;
    font-weight: bold;
    margin: 15px 0;
}

.btn-contact-now {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-contact-now:hover {
    transform: translateY(-2px);
}

/* Sidebar Info */
.sidebar-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sidebar-info h5 {
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
}

.sidebar-info ul {
    list-style: none;
    padding: 0;
}

.sidebar-info ul li {
    color: #666;
    margin: 10px 0;
    font-size: 14px;
}

/* Results Table Section */
.results-table-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.results-table-section h3 {
    color: #333;
    font-weight: bold;
}

.results-table {
    margin-top: 20px;
}

.results-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.results-table thead th {
    border: none;
    padding: 12px 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
}

.results-table tbody td {
    padding: 10px 8px;
    text-align: center;
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.results-table tbody tr:hover {
    background-color: #f8f9ff;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-section h3 {
    color: #333;
    font-weight: bold;
}

.faq-item {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #6c5ce7;
}

.faq-item h5 {
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* Disclaimer Box */
.disclaimer-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 20px;
    border-radius: 10px;
    color: #856404;
}

.disclaimer-box p {
    margin: 0;
    line-height: 1.6;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0 20px;
}

.main-footer h5 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.main-footer p {
    color: #bdc3c7;
    line-height: 1.8;
    font-size: 0.9rem;
}

.main-footer i {
    margin-right: 10px;
    color: #6c5ce7;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #6c5ce7;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background: #764ba2;
}

.main-footer hr {
    border-color: #555;
    margin: 30px 0 20px;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .games-container .row {
        gap: 15px;
    }
    
    .satta-text {
        font-size: 2rem;
    }
    
    .tiger-logo {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .nav-left span {
        display: none;
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .main-content-wrapper {
        padding: 20px;
    }
    
    .btn-action {
        margin: 5px;
        padding: 8px 20px;
    }
    
    .results-table {
        font-size: 0.75rem;
    }
    
    .results-table thead th,
    .results-table tbody td {
        padding: 6px 4px;
    }
    
    .contact-info-box {
        width: 100%;
    }
    
    .satta-text {
        font-size: 1.5rem;
    }
    
    .tiger-logo {
        height: 50px;
    }
    
    .logo-section-right {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-logo-box img {
        max-width: 150px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .trophy-badge-main {
        width: 60px;
        height: 60px;
    }
    
    .trophy-badge-main i {
        font-size: 24px;
    }
    
    .game-card-new {
        margin-bottom: 15px;
    }
    
    .number-box {
        padding: 6px 12px;
        font-size: 1rem;
    }
    
    .satta-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .tiger-logo {
        height: 40px;
    }
    
    .logo-text-box {
        padding: 10px 25px;
        font-size: 1.2rem;
    }
}


/* Games Grid - Exact Design from Screenshot */
.games-grid-exact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.game-card-exact {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.game-card-exact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108,92,231,0.15);
    border-color: #6c5ce7;
}

.ribbon-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 50px 0 0;
    border-color: #667eea transparent transparent transparent;
}

.ribbon-corner::after {
    content: '';
    position: absolute;
    top: -48px;
    left: 2px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent white transparent;
}

.game-card-exact h5 {
    color: #333;
    font-weight: bold;
    margin: 10px 0;
    font-size: 1rem;
}

.time-text {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.result-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 15px 0;
}

.result-display .num {
    font-weight: bold;
    font-size: 1.1rem;
    padding: 5px 10px;
    border-radius: 5px;
}

.result-display .num.orange {
    color: #ff6b35;
}

.result-display .num.blue {
    color: #4a90e2;
}

.result-display .sep {
    color: #999;
    font-weight: bold;
}

/* Responsive for Games Grid */
@media (max-width: 992px) {
    .games-grid-exact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .games-grid-exact {
        grid-template-columns: 1fr;
    }
}


/* New Game Cards with Dates */
.games-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.game-card-date {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.game-card-date:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108,92,231,0.15);
    border-color: #6c5ce7;
}

.ribbon-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 10px 0 10px 0;
}

.game-card-date h5 {
    color: #333;
    font-weight: bold;
    margin: 25px 0 15px;
    font-size: 1.1rem;
}

.date-results {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.date-value {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 5px;
}

.date-value.red {
    color: #e74c3c;
}

.date-value.blue {
    color: #3498db;
}

/* Info Section */
.info-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.info-section h4 {
    color: #333;
    font-weight: bold;
    margin: 20px 0;
}

.info-section p {
    color: #666;
    line-height: 1.8;
}

/* Guessing Section */
.guessing-section {
    background: linear-gradient(135deg, #ffd4e8 0%, #ffb8d4 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.guessing-section h3 {
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
}

.hand-icons {
    font-size: 3rem;
    color: #6c5ce7;
    margin: 20px 0;
}

.hand-icons i {
    margin: 0 20px;
}

.btn-guessing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

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

/* Discover Section */
.discover-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.discover-section h5 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.discover-list {
    list-style: none;
    padding: 0;
}

.discover-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.discover-list li:last-child {
    border-bottom: none;
}

.discover-list a {
    color: #555;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.discover-list a:hover {
    color: #6c5ce7;
}

.discover-list i {
    color: #999;
    font-size: 0.8rem;
}

/* Responsive for New Sections */
@media (max-width: 992px) {
    .games-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .games-grid-new {
        grid-template-columns: 1fr;
    }
    
    .hand-icons {
        font-size: 2rem;
    }
    
    .hand-icons i {
        margin: 0 10px;
    }
}

/* Modern Styles for New Index Page */

/* Login Button */
.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    color: white;
}

/* Live Result Banner */
.live-result-banner {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 30px 20px;
    margin: 20px auto;
    border-radius: 12px;
    max-width: 95%;
}

.live-result-banner h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.live-dot {
    color: #ff0000;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

.motivational-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Welcome Section */
.welcome-section {
    background: white;
    padding: 30px;
    margin: 20px auto;
    border-radius: 12px;
    max-width: 95%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.welcome-section h2 {
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.welcome-section p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 15px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 95%;
}

.disclaimer-banner p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
}

/* Modern Game Cards */
.game-card-modern {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
}

.game-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108,92,231,0.25);
    border-color: #6c5ce7;
}

.game-card-modern .modern-time-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px 0 0 0;
}

.game-card-modern .modern-time-ribbon span {
    position: absolute;
    display: block;
    width: 150px;
    padding: 8px 0;
    background: #6c5ce7;
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    left: -30px;
    top: 15px;
    transform: rotate(-45deg);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.game-card-modern h5 {
    color: #333;
    font-weight: bold;
    margin: 15px 0 10px;
    font-size: 1.1rem;
}

.result-display-modern {
    margin-top: 15px;
}

.date-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    margin: 8px 0;
    background: #f8f9fa;
    border-radius: 8px;
}

.date-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.num-value {
    font-size: 2.3rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 6px;
}

.num-value.red {
    color: #e74c3c;
    background: #ffe8e8;
}

.num-value.blue {
    color: #3498db;
    background: #e8f4ff;
}

/* Guessing Banner */
.guessing-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.guessing-banner h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.guessing-box {
    background: rgba(255,255,255,0.15);
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
}

.guessing-box h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-guessing {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.btn-guessing:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* Sidebar Icons */
.sidebar-menu li a i {
    margin-right: 10px;
    color: #6c5ce7;
    width: 20px;
}

.sidebar-card h5 i {
    margin-right: 10px;
}

/* FAQ Icons */
.faq-item h5 i {
    color: #6c5ce7;
    margin-right: 10px;
}

/* Responsive Adjustments for Modern Cards */
@media (max-width: 992px) {
    .live-result-banner h3 {
        font-size: 1.5rem;
    }
    
    .welcome-section h2 {
        font-size: 1.3rem;
    }
    
    .guessing-banner h3 {
        font-size: 1.5rem;
    }
    
    .guessing-box {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .live-result-banner {
        padding: 20px 15px;
    }
    
    .live-result-banner h3 {
        font-size: 1.3rem;
    }
    
    .welcome-section {
        padding: 20px;
    }
    
    .welcome-section h2 {
        font-size: 1.1rem;
    }
    
    .guessing-banner {
        padding: 25px;
    }
    
    .guessing-banner h3 {
        font-size: 1.3rem;
    }
    
    .date-result {
        padding: 6px 10px;
    }
    
    .num-value {
        font-size: 1.3rem;
        padding: 4px 12px;
    }
}

@media (max-width: 576px) {
    .game-card-modern {
        padding: 15px;
    }
    
    .game-card-modern h5 {
        font-size: 1rem;
    }
    
    .time-text {
        font-size: 0.8rem;
    }
    
    .date-label {
        font-size: 0.85rem;
    }
    
    .num-value {
        font-size: 1.3rem;
        padding: 3px 10px;
    }
    
    .guessing-box h4 {
        font-size: 1.2rem;
    }
    
    .btn-guessing {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.page-header i {
    margin-right: 15px;
}

/* Content Card Styles */
.content-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.content-card h2 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-card h3 {
    color: #667eea;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Policy Section Styles */
.policy-section {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.policy-section ul {
    padding-left: 20px;
}

.policy-section li {
    margin: 10px 0;
    color: #666;
    line-height: 1.8;
}

/* About Section Styles */
.about-section {
    padding: 20px 0;
}

.about-section h3 i {
    color: #667eea;
    margin-right: 10px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    color: #666;
    font-size: 1rem;
}

.feature-list li i {
    color: #11998e;
    margin-right: 10px;
}

/* Contact Form Styles */
.contact-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102,126,234,0.25);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.btn-submit i {
    margin-right: 8px;
}

/* Contact Info Box */
.contact-info-section {
    margin-top: 40px;
}

.contact-info-section h3 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-info-box {
    background: linear-gradient(135deg, #ffd4e8 0%, #ffb8d4 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-info-box i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

.contact-info-box h5 {
    color: #333;
    font-weight: bold;
    margin: 15px 0 10px;
}

.contact-info-box p {
    color: #666;
    margin: 0;
}

/* Auth Container Styles */
.auth-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 50px;
}

.auth-form-box {
    padding: 40px;
}

.auth-form-box h2 {
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.auth-form-box h2 i {
    color: #667eea;
    margin-right: 10px;
}

.auth-form-box p {
    color: #666;
    margin-bottom: 30px;
}

.register-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Chart Filter Styles */
.chart-filter {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.chart-filter .form-label {
    font-weight: 600;
    color: #333;
}

/* Guessing Cards */
.guessing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.guess-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.guess-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.2);
    border-color: #667eea;
}

.guess-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.guess-header h4 {
    color: #333;
    font-weight: bold;
    margin: 0;
}

.time-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.time-badge i {
    margin-right: 5px;
}

.guess-numbers {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin: 20px 0;
}

.guess-num {
    background: linear-gradient(135deg, #ffd4e8 0%, #ffb8d4 100%);
    color: #c44569;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 12px;
    border-radius: 8px;
    min-width: 50px;
    text-align: center;
}

.guess-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.accuracy {
    color: #11998e;
    font-weight: 600;
}

.accuracy i {
    color: #ffc107;
    margin-right: 5px;
}

/* Hot Numbers */
.hot-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-num {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* Statistics List */
.stats-list {
    padding: 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item span {
    color: #666;
}

.stat-item strong {
    color: #667eea;
    font-size: 1.1rem;
}

/* Tips List */
.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 10px 0;
    color: #666;
    border-left: 3px solid #667eea;
    padding-left: 15px;
    margin: 10px 0;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 10px 0;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #6c5ce7;
}

/* Navigation Active State */
.nav-left span a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-left span a:hover,
.nav-left span a.active {
    color: #6c5ce7;
}

/* Responsive Styles for New Pages */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 30px;
    }
    
    .auth-form-box {
        padding: 30px;
    }
    
    .guessing-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .auth-form-box {
        padding: 25px;
    }
    
    .contact-info-box {
        padding: 20px;
    }
    
    .guess-numbers {
        gap: 5px;
    }
    
    .guess-num {
        font-size: 1.1rem;
        padding: 10px;
        min-width: 45px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.95rem;
    }
    
    .content-card h2 {
        font-size: 1.5rem;
    }
    
    .guessing-cards {
        grid-template-columns: 1fr;
    }
    
    .guess-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .hot-numbers {
        justify-content: center;
    }
    
    .chart-filter .col-md-4 {
        margin-bottom: 15px;
    }
}

/* Print Styles */
@media print {
    .top-nav,
    .main-footer,
    .btn-submit,
    .btn-login {
        display: none;
    }
    
    .content-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-left span {
        display: none;
    }
    
    .nav-left.active span {
        display: block;
        margin: 10px 0;
    }
    
    .nav-left.active {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
}

/* Accessibility Improvements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #667eea;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102,126,234,.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification.success {
    border-left: 4px solid #11998e;
}

.toast-notification.error {
    border-left: 4px solid #e74c3c;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.7);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin: 10px 0;
    border-radius: 4px;
}

.skeleton-card {
    height: 200px;
    border-radius: 12px;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .game-card-modern,
    .sidebar-card,
    .content-card {
        border: 3px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Optimization */
@media print {
    .no-print,
    .top-nav,
    .main-footer,
    .sidebar-card,
    .btn-submit,
    .btn-login,
    .btn-guessing,
    .scroll-top {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .content-card,
    .game-card-modern {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-sm { box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.rounded-sm { border-radius: 5px; }
.rounded-md { border-radius: 10px; }
.rounded-lg { border-radius: 15px; }

.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zoom-in {
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(102,126,234,0.5);
}

/* Badge Styles */
.badge-new {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-hot {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Status Indicators */
.status-online {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #11998e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Selection Color */
::selection {
    background: #667eea;
    color: white;
}

::-moz-selection {
    background: #667eea;
    color: white;
}
