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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: 
        linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Animated lottery background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(79, 195, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(156, 39, 176, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.03) 0%, transparent 50%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Complete Page Layout Rebuild */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


/* Numbers and AI Row */
.numbers-ai-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.numbers-card {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.15) 0%, rgba(79, 195, 247, 0.08) 100%);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ai-pattern-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.ai-card {
    position: relative;
    z-index: 10;
    flex-grow: 1;
}

.pattern-card {
    position: relative;
    z-index: 5;
    flex-grow: 1;
}

.strategy-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.strategy-section {
    margin: 1.5rem 0;
}

.strategy-section h3 {
    color: #4fc3f7;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.strategy-card,
.ai-card,
.pattern-card,
.sum-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Analysis Row */
.analysis-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.results-card,
.stats-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.chart-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

/* Card Headers */
.card-title {
    color: #4fc3f7;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-header .card-title {
    margin: 0;
}

.lines-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lines-control label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    min-width: 70px;
}

/* Strategy Grid */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.strategy-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.15) 0%, rgba(79, 195, 247, 0.08) 100%);
    border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 90px;
    position: relative;
}

.strategy-btn::before {
    content: 'CLICK';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(79, 195, 247, 0.8);
    letter-spacing: 0.3px;
}

.strategy-btn:hover {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.3) 0%, rgba(79, 195, 247, 0.15) 100%);
    border-color: rgba(79, 195, 247, 0.6);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.btn-title {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.btn-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

/* AI Button */
.ai-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15) 0%, rgba(255, 152, 0, 0.08) 100%);
    border: 2px solid rgba(255, 152, 0, 0.3);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
    min-height: 70px;
}

.ai-btn::before {
    content: 'CLICK TO GENERATE';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 152, 0, 0.8);
    letter-spacing: 0.3px;
}

.ai-btn:hover {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3) 0%, rgba(255, 152, 0, 0.15) 100%);
    border-color: rgba(255, 152, 0, 0.6);
    transform: translateY(-2px);
}

.ai-icon {
    font-size: 1.5rem;
    margin-right: 0.8rem;
}

.ai-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ai-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.ai-confidence {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Pattern Grid */
.pattern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pattern-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pattern-item h4 {
    color: #4fc3f7;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.pattern-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    line-height: 1.3;
    margin: 0;
}

/* Results List */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    min-width: 80px;
}

.result-numbers {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* Charts Area */
.charts-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.chart-item h4 {
    color: #4fc3f7;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.chart-item canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 180px !important;
    flex: 1;
}

/* Stats List */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.stat-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Chaos Guide Styling */
.chaos-guide {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.guide-header h3 {
    color: #4fc3f7;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.current-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.score-badge {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.score-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.level {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    gap: 0.3rem;
}

.level.excellent {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.level.moderate {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.level.predictable {
    background: rgba(255, 87, 34, 0.1);
    border-color: rgba(255, 87, 34, 0.3);
}

.level .range {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    min-width: 60px;
}

.level.excellent .range {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

.level.moderate .range {
    background: linear-gradient(135deg, #ffc107 0%, #f57c00 100%);
}

.level.predictable .range {
    background: linear-gradient(135deg, #ff5722 0%, #d32f2f 100%);
}

.level .name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.level .desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .page-container {
        padding: 0.75rem;
        gap: 1rem;
        max-width: 100%;
    }
    
    .numbers-ai-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ai-pattern-column {
        gap: 1rem;
    }
    
    .analysis-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .strategy-btn {
        padding: 0.75rem;
        min-height: 80px;
    }
    
    .btn-title {
        font-size: 0.9rem;
    }
    
    .btn-desc {
        font-size: 0.75rem;
    }
    
    .pattern-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .score-levels {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .numbers-card,
    .strategy-card,
    .ai-card,
    .pattern-card,
    .results-card,
    .stats-card,
    .sum-card {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .strategy-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .lines-control {
        flex: 1;
        min-width: 120px;
    }
    
    /* Mobile number display */
    .numbers-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lottery-ball {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        margin: 0.1rem;
    }
    
    .plus-sign {
        font-size: 1.2rem;
        margin: 0 0.3rem;
    }
    
    /* Chart responsiveness */
    .chart-item {
        min-height: 150px;
    }
    
    .chart-item canvas {
        max-height: 120px !important;
    }
    
    /* Footer adjustments */
    .footer-content {
        padding: 1rem 0.5rem;
    }
    
    .footer-content .copyright {
        font-size: 0.7rem;
    }
    
    .footer-content .disclaimer {
        font-size: 0.65rem;
        padding: 0.75rem;
    }
}

/* Tablet Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .page-container {
        padding: 1.25rem;
        gap: 1.25rem;
    }
    
    .numbers-ai-row {
        grid-template-columns: 1.8fr 1fr;
        gap: 1.25rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 480px) {
    .page-container {
        padding: 0.5rem;
        gap: 0.75rem;
    }
    
    .lottery-ball {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        margin: 0.05rem;
    }
    
    .plus-sign {
        font-size: 1rem;
        margin: 0 0.2rem;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .strategy-btn {
        padding: 1rem;
        min-height: 60px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .numbers-card,
    .ai-card,
    .pattern-card {
        padding: 0.75rem;
    }
    
    .line-label {
        font-size: 0.8rem;
        min-width: 45px;
    }
    
    .chaos-score {
        font-size: 0.7rem;
        min-width: 35px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .strategy-btn,
    .form-select,
    button {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .lottery-ball {
        touch-action: none;
    }
}

/* Welcome Card Styles */
.welcome-card {
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.1) 0%, 
            rgba(255, 255, 255, 0.05) 100%
        );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 0;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.welcome-header {
    text-align: center;
    margin-bottom: 2rem;
}

.site-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    text-align: center;
    letter-spacing: -0.02em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.title-gradient {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 50%, #0288d1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(79, 195, 247, 0.3);
    position: relative;
}

.title-machine {
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 50%, #d32f2f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
    position: relative;
}

.title-gradient::after,
.title-machine::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    filter: blur(2px);
    z-index: -1;
}

/* Social Media Share Buttons */
.social-share {
    margin-top: 1.5rem;
    text-align: center;
}

.share-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #166fe5;
    border-color: #4267B2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #0d95e8;
    border-color: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.linkedin:hover {
    background: #006399;
    border-color: #0077b5;
}

.share-btn.copy {
    background: #6c757d;
}

.share-btn.copy:hover {
    background: #5a6268;
    border-color: #6c757d;
}

.site-subtitle {
    font-size: 1.3rem;
    color: #4fc3f7;
    margin: 0;
    font-weight: 500;
}

.welcome-content h3 {
    color: #4fc3f7;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.welcome-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.feature-item h4 {
    color: #4fc3f7;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.disclaimer {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.disclaimer p {
    color: #ffc107;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Footer Disclaimer Styles */
.footer-disclaimer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.footer-content .copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-content .disclaimer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin: 0;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.footer-content .gambling-help {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0.75rem auto 0;
    max-width: 600px;
}

.footer-content .gambling-help a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: 500;
}

.footer-content .gambling-help a:hover {
    color: #29b6f6;
    text-decoration: underline;
}


/* Strategy Explanations */
.strategy-explanations {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy-explanations h3 {
    color: #4fc3f7;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.strategy-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy-item h4 {
    color: #4fc3f7;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.strategy-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Section Headers */
.section-header {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.section-header i {
    margin-right: 0.5rem;
    color: #4fc3f7;
    opacity: 0.9;
    font-weight: 500;
}

/* Fixed Cards - No Movement */
.lottery-card {
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.1) 0%, 
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.05) 100%
        );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 1000px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.lottery-card:hover {
    /* No hover movement */
}

.lottery-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2), rgba(156, 39, 176, 0.2));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lottery-card:hover::before {
    opacity: 1;
}

/* Lottery Balls */
.lottery-ball {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0.3rem;
    position: relative;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.main-ball {
    background: linear-gradient(135deg, #42a5f5 0%, #1976d2 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.powerball {
    background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lottery-ball::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 25%;
    height: 25%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    filter: blur(3px);
}

.lottery-ball:hover {
    transform: scale(1.05);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

/* Fixed Number Lines - No Movement */
.number-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.1) 0%, 
            rgba(255, 255, 255, 0.05) 100%
        );
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
}

.number-line:hover {
    /* No hover movement */
}

.line-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4fc3f7;
    min-width: 80px;
}

.numbers-group {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
    position: relative;
    z-index: 9998;
}

.plus-sign {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4fc3f7;
    margin: 0 0.8rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.chaos-score {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 4px 12px rgba(76, 175, 80, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 80px;
    text-align: center;
}

/* 3D Button Styles */
.lottery-button {
    background: 
        linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 
        0 8px 25px rgba(79, 70, 229, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.lottery-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.lottery-button:hover::before {
    left: 100%;
}

.lottery-button:hover {
    background: 
        linear-gradient(135deg, #5a67d8 0%, #4c51bf 100%);
    box-shadow: 
        0 6px 20px rgba(79, 70, 229, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.lottery-button:active {
    transform: perspective(500px) rotateX(8deg) translateY(1px);
}

/* Readable Form Controls */
.form-control-3d {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.form-control-3d option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 0.5rem;
}

.form-control-3d:focus {
    outline: none;
    border-color: #4fc3f7;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.3);
}

/* Strategy Header */
.strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.lines-control-inline {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lines-control-inline label {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.lines-control-inline select {
    min-width: 120px;
}

/* Strategy Buttons */
.strategy-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.strategy-button {
    display: flex;
    align-items: center;
    padding: 1.8rem;
    background: 
        linear-gradient(135deg, 
            rgba(79, 195, 247, 0.15) 0%, 
            rgba(79, 195, 247, 0.08) 100%
        );
    border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 15px;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 6px 20px rgba(79, 195, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.strategy-button::before {
    content: 'CLICK TO GENERATE';
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(79, 195, 247, 0.8);
    letter-spacing: 0.5px;
}

.strategy-button:hover {
    background: 
        linear-gradient(135deg, 
            rgba(79, 195, 247, 0.3) 0%, 
            rgba(79, 195, 247, 0.15) 100%
        );
    border-color: rgba(79, 195, 247, 0.6);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(79, 195, 247, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.strategy-button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 15px rgba(79, 195, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.strategy-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    min-width: 60px;
    text-align: center;
}

.strategy-content h4 {
    color: #4fc3f7;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.strategy-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* AI Button Styling */
.ai-button {
    background: 
        linear-gradient(135deg, 
            rgba(255, 152, 0, 0.15) 0%, 
            rgba(255, 152, 0, 0.08) 100%
        );
    border: 2px solid rgba(255, 152, 0, 0.3);
}

.ai-button::before {
    content: 'CLICK TO GENERATE AI';
    color: rgba(255, 152, 0, 0.8);
}

.ai-button:hover {
    background: 
        linear-gradient(135deg, 
            rgba(255, 152, 0, 0.3) 0%, 
            rgba(255, 152, 0, 0.15) 100%
        );
    border-color: rgba(255, 152, 0, 0.6);
    box-shadow: 
        0 12px 30px rgba(255, 152, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ai-predictions {
    margin: 2rem 0 0 0;
}

/* Chaos Score Key */
.chaos-key {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.chaos-key-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chaos-key-header h3 {
    color: #4fc3f7;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.current-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.score-value {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.strategy-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

.chaos-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.chaos-level {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.chaos-level.excellent {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.chaos-level.moderate {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.chaos-level.predictable {
    background: rgba(255, 87, 34, 0.1);
    border-color: rgba(255, 87, 34, 0.3);
}

.level-range {
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    color: #ffffff;
}

.excellent .level-range {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

.moderate .level-range {
    background: linear-gradient(135deg, #ffc107 0%, #f57c00 100%);
}

.predictable .level-range {
    background: linear-gradient(135deg, #ff5722 0%, #d32f2f 100%);
}

.level-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.level-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.level-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.3;
}

.info-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Analysis Grid */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.analysis-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-item h4 {
    color: #4fc3f7;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.analysis-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Recent Results */
.recent-results {
    margin: 1.5rem 0;
}

.result-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.result-date {
    color: #4fc3f7;
    font-weight: 600;
    min-width: 120px;
    font-size: 0.9rem;
}

.result-numbers {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lottery-ball.small {
    width: 35px;
    height: 35px;
    font-size: 0.85rem;
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-container h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Stats Summary */
.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.stat-value {
    color: #4fc3f7;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-summary {
        grid-template-columns: 1fr;
    }
    
    .result-line {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .number-line {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .site-title {
        font-size: 2.5rem;
    }
    
    .section-header {
        font-size: 1.5rem;
    }
}