/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding: 20px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #667eea;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
}

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

/* Impressum and Privacy Policy Modal Styles */
.impressum-content,
.datenschutz-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.impressum-content h4,
.datenschutz-content h4 {
    color: #2d3748;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.impressum-content h4:first-child,
.datenschutz-content h4:first-child {
    margin-top: 0;
}

.impressum-content p,
.datenschutz-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.impressum-content strong,
.datenschutz-content strong {
    color: #4a5568;
}

.impressum-content a,
.datenschutz-content a {
    color: #667eea;
    text-decoration: none;
}

.impressum-content a:hover,
.datenschutz-content a:hover {
    text-decoration: underline;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

/* Main area */
main {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2d3748;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

/* Input area */
.simulation-input {
    background: #f7fafc;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.input-group {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
}

.input-group label {
    font-weight: 500;
    color: #4a5568;
    min-width: 150px;
}

.input-group input {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-hint {
    display: block;
    margin-top: 8px;
    color: #718096;
    font-size: 0.85rem;
    font-style: italic;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #edf2f7;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* Loading Animation */
.loading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    color: #667eea;
    font-weight: 500;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Summary */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.summary-card {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease;
}

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

.summary-card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 10px;
}

.summary-card span {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.summary-card small {
    font-size: 0.9rem;
    color: #718096;
}

.summary-card.red {
    border-color: #fed7d7;
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
}

.summary-card.red h3,
.summary-card.red span {
    color: #c53030;
}

.summary-card.black {
    border-color: #e2e8f0;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
}

.summary-card.black h3,
.summary-card.black span {
    color: white;
}

.summary-card.green {
    border-color: #c6f6d5;
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
}

.summary-card.green span {
    color: #22543d;
}

/* Zero Info */
.zero-info {
    margin-top: 20px;
    padding: 15px;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: 8px;
    color: #22543d;
    font-weight: 500;
}

/* Advanced Analysis */
.advanced-analysis {
    background: #f7fafc;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.analysis-section {
    display: block;
}
.analysis-section-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .analysis-section-inner {
        grid-template-columns: 1fr;
    }
}

.analysis-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

.analysis-group {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.analysis-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.info-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-btn:hover {
    background: #5a67d8;
    transform: scale(1.1);
}

.analysis-input {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.analysis-input label {
    font-weight: 500;
    color: #4a5568;
    min-width: 120px;
}

.analysis-input input,
.analysis-input select {
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 120px;
    transition: border-color 0.3s ease;
}

.analysis-input input:focus,
.analysis-input select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.group-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.group-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f7fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.group-option span {
    font-weight: 500;
    color: #4a5568;
}

.analysis-result {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: 6px;
    padding: 15px;
    color: #22543d;
    font-weight: 500;
    line-height: 1.5;
}

/* Visualization */
.visualization {
    background: #f7fafc;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.chart-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chart-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2d3748;
}

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

/* Strategy Simulation */
.strategy-simulation {
    background: #f7fafc;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.strategy-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.strategy-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
}

.strategy-input {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.input-row label {
    font-weight: 500;
    color: #4a5568;
    min-width: 150px;
}

.input-row input {
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 150px;
    transition: border-color 0.3s ease;
}

.input-row input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.strategy-result {
    background: #e6fffa;
    border: 1px solid #81e6d9;
    border-radius: 6px;
    padding: 15px;
    color: #234e52;
    font-weight: 500;
    line-height: 1.5;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-content div {
    line-height: 1.6;
    color: #4a5568;
}

/* Existing Styles */
.filters {
    background: #f7fafc;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.filter-group {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.filter-group h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.filter-input {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.filter-input label {
    font-weight: 500;
    color: #4a5568;
    min-width: 200px;
}

.filter-input input {
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 120px;
    transition: border-color 0.3s ease;
}

.filter-input input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.filter-result {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: 6px;
    padding: 15px;
    color: #22543d;
    font-weight: 500;
    line-height: 1.5;
}

.results-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.results-controls label {
    font-weight: 500;
    color: #4a5568;
}

.results-controls select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    transition: border-color 0.3s ease;
}

.results-controls select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.results-table-container {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.results-table th {
    background: #f7fafc;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
}

.results-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.results-table tr:hover {
    background: #f7fafc;
}

.color-red {
    color: #dc2626;
    font-weight: 700;
    background-color: rgba(220, 38, 38, 0.15);
    border-left: 3px solid #dc2626;
}

.color-black {
    color: #1f2937;
    font-weight: 700;
    background-color: rgba(31, 41, 55, 0.15);
    border-left: 3px solid #1f2937;
}

.color-green {
    color: #059669;
    font-weight: 700;
    background-color: rgba(5, 150, 105, 0.15);
    border-left: 3px solid #059669;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    main {
        padding: 25px;
    }

    header h1 {
        font-size: 2rem;
    }

    .input-group,
    .analysis-input,
    .strategy-input {
        flex-direction: column;
        align-items: stretch;
    }

    .input-group input,
    .analysis-input input,
    .strategy-input input {
        min-width: auto;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-table th,
    .results-table td {
        padding: 8px 6px;
        font-size: 0.9rem;
    }

    .group-options {
        grid-template-columns: 1fr;
    }

    .group-option {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .chart-container {
        height: 300px;
    }

    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }

    .roulette-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 6px;
    }

    .roulette-number {
        min-width: 35px;
        min-height: 35px;
        font-size: 1rem;
    }

    .nav-menu {
        gap: 8px;
    }

    .nav-item {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        justify-content: center;
    }

    /* AdSense responsive */
    .ad-banner {
        margin: 15px 0;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: auto;
    }

    .results-table {
        font-size: 0.8rem;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .analysis-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    /* Footer mobile */
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-separator {
        display: none;
    }

    /* AdSense mobile */
    .ad-banner {
        margin: 10px 0;
        padding: 5px;
    }

    .roulette-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        max-width: 100vw;
        overflow-x: auto;
    }
    .roulette-number {
        min-width: 24px;
        min-height: 24px;
        font-size: 0.8rem;
    }
    .roulette-field {
        padding: 6px;
    }
}

/* Roulette Field */
.roulette-field {
    display: inline-block;
    width: auto;
    min-width: unset;
    max-width: unset;
    background: white;
    border-radius: 8px;
    margin-bottom: 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 12px;
    vertical-align: top;
}

.roulette-field h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
    text-align: center;
}

.roulette-grid {
    width: fit-content;
    margin: 0 auto;
}

.roulette-number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    min-width: 22px;
    min-height: 22px;
    padding: 0;
}

.roulette-number:hover {
    transform: scale(1.07);
    box-shadow: 0 2px 6px rgba(0,0,0,0.13);
}

.roulette-number.red {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border-color: #dc2626;
}

.roulette-number.black {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    border-color: #1f2937;
}

.roulette-number.green {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border-color: #059669;
}

.roulette-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
    align-self: flex-start;
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.85rem;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.08);
}

.roulette-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.roulette-number {
    min-width: 35px;
    min-height: 35px;
    font-size: 1rem;
}

/* Navigation */
.navigation {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
    z-index: 100;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-item {
    padding: 6px 12px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.nav-item:active {
    transform: translateY(0);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 1000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-text p {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.cookie-text ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.cookie-text li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-buttons .btn-primary,
.cookie-buttons .btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-text {
        min-width: auto;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-buttons .btn-primary,
    .cookie-buttons .btn-secondary {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    .cookie-text h4 {
        font-size: 1rem;
    }
    .cookie-text p,
    .cookie-text li {
        font-size: 0.85rem;
    }
    .cookie-buttons {
        flex-direction: column;
    }
    .cookie-buttons .btn-primary,
    .cookie-buttons .btn-secondary {
        max-width: none;
    }
} 

@media (max-width: 768px) {
    .navigation {
        position: static;
        top: unset;
    }
} 

.scroll-to-nav {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(102,126,234,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.scroll-to-nav:hover {
    background: #5a67d8;
    transform: scale(1.08);
}
@media (min-width: 769px) {
    .scroll-to-nav {
        display: none !important;
    }
} 

.roulette-field-container {
    display: block;
    margin-bottom: 32px;
}
.roulette-field {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 0 0 0;
}
.roulette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 6px;
    width: 100%;
    margin: 0 auto;
}
.number-analysis {
    margin: 24px 0 0 0;
    width: 100%;
    max-width: none;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 24px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 1rem;
    color: #2d3748;
    align-self: flex-start;
    display: block;
}
@media (max-width: 900px) {
    .roulette-field, .number-analysis {
        max-width: 100%;
        min-width: 0;
    }
    .roulette-grid {
        grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    }
    .roulette-number {
        font-size: 1rem;
        min-width: 24px;
        min-height: 24px;
    }
} 

.warning-text {
    color: #e53e3e;
    background: #fff5f5;
    border: 2px solid #e53e3e;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 22px auto 0 auto;
    max-width: 600px;
    font-size: 1.08rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(229,62,62,0.08);
    text-align: center;
    letter-spacing: 0.01em;
} 