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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

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

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo i {
    font-size: 2rem;
    color: #ff6b35;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    transition: font-size 0.3s ease;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #ff6b35;
}

.nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff6b35;
    transition: width 0.3s ease;
}

.nav a:hover:after {
    width: 100%;
}

.language-switcher {
    margin-left: 1rem;
}

.language-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #2c3e50;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-select:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
}

.language-select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.language-select option {
    background: white;
    color: #2c3e50;
    padding: 0.5rem;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    transition: font-size 0.3s ease;
}

.stats-highlight {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.hero-contacts {
    margin-top: 1.5rem;
    text-align: center;
}

.hero-contact-text {
    font-size: 1rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
}

.hero-telegram-btn {
    background: linear-gradient(135deg, #229ED9, #0088cc);
}

.hero-whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.hero-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.hero-contact-btn:hover::before {
    left: 100%;
}

.hero-contact-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    transition: font-size 0.3s ease;
}

/* Auto-resize support for all titles */
.stats-card h3,
.history-table-container h3,
.comment-form-container h3,
.modal-header h3,
.submission-message h4,
.contact-method h3,
.contact-info h2 {
    white-space: nowrap;
    overflow: hidden;
    transition: font-size 0.3s ease;
}

.predictions {
    background: rgba(255, 255, 255, 0.1);
    padding: 4rem 0;
    backdrop-filter: blur(10px);
}

.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.prediction-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #ff6b35;
}

.match-info {
    text-align: center;
    margin-bottom: 1.5rem;
}



.match-number {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    min-width: 40px;
    text-align: center;
}

.match-date {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0;
}

.match-round {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
}

.match-number-display {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.match-teams {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.team-name {
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.vs {
    color: #ff6b35;
    font-weight: 700;
    margin: 0.3rem 0;
    font-size: 1.1rem;
}

.prediction-result {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 1rem;
}

.prediction-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
}

.match-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.prediction-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.predicted-winner {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.prediction-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.confidence {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.confidence-stars {
    color: #ffd700;
}

.prediction-count {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.prediction-reason {
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    position: relative;
}

.read-more-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.read-more-btn .arrow {
    transition: transform 0.3s ease;
}

.read-more-btn:hover .arrow {
    transform: translateX(3px);
}

.countdown-container {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin-top: 0.8rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    margin: 0;
}

.countdown-time {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.countdown-finished {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.countdown-finished .countdown-time {
    font-size: 1rem;
    animation: pulse 1.5s infinite;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.complete-analysis {
    line-height: 1.6;
    color: #5a6c7d;
    font-size: 1rem;
}

.public-analysis p {
    margin-bottom: 1rem;
}

.continuation-text {
    margin: 1.5rem 0 1rem 0;
}

.continuation-text p {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.blurred-content {
    position: relative;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    margin-bottom: 1.5rem;
    max-height: 200px;
    overflow: hidden;
}

.blurred-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(3px);
    border-radius: 8px;
    z-index: 1;
}

.blurred-content::after {
    content: '🔒 VIP Exclusive Content';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blurred-content p {
    color: #5a6c7d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.5rem 0;
    position: relative;
    z-index: 0;
}

.contact-prompt {
    text-align: center;
    margin-top: auto;
    padding-top: 1rem;
    flex-shrink: 0;
}

.vip-message {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.modal-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.modal-telegram-btn {
    background: linear-gradient(135deg, #229ED9, #1E88E5);
}

.modal-whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.modal-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.modal-contact-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.comments-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 4rem 0;
}

.comments-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.comments-list {
    max-height: 450px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

.comment-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.7rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid #ff6b35;
    transition: transform 0.2s ease;
}

.comment-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.comment-date {
    font-size: 0.75rem;
    color: #6c757d;
}

.comment-content {
    color: #5a6c7d;
    line-height: 1.4;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.comment-rating {
    display: flex;
    gap: 0.1rem;
}

.star {
    color: #ffc107;
    font-size: 0.8rem;
}

.star.empty {
    color: #dee2e6;
}

.comment-form-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comment-form-container h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.submit-comment-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.submit-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.comment-modal-content {
    max-width: 500px;
}

.comment-modal-header {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.comment-modal-body {
    text-align: center;
    padding: 2rem;
}

.submission-message {
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.submission-message h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.submission-message p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.fast-feedback {
    font-weight: 600;
    color: #ff6b35 !important;
}

.comment-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.comment-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.comment-telegram-btn {
    background: linear-gradient(135deg, #229ED9, #1E88E5);
}

.comment-whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.comment-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.comment-contact-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.history {
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem 0;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stats-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.stats-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.big-stat {
    margin: 1rem 0;
}

.big-stat span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b35;
    line-height: 1;
}

.big-stat small {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.stats-card p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin: 1rem 0 0 0;
}

.recent-form {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    width: 100%;
}

.recent-form-table {
    border-collapse: separate;
    border-spacing: 0.3rem;
    margin: 0 auto;
}

.recent-form-table td {
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

.form-indicator {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .recent-form-table {
        border-spacing: 0.2rem;
    }
    
    .form-indicator {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
}

.form-indicator.win {
    background: #28a745;
}

.form-indicator.loss {
    background: #dc3545;
}

.history-table-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.history-table-container h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.table-wrapper {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.history-table th,
.history-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.history-table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
    text-align: center;
}

.history-table td {
    text-align: center;
}

.history-table td:first-child {
    width: 50px;
    min-width: 50px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
}

.teams-container {
    position: relative;
}

.teams-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.team-with-logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    justify-content: center;
}

.team-with-logo-desktop {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
}

.team-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.team-name-text {
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.2;
}

.vs-divider {
    margin: 0 0.3rem;
    font-size: 1rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.history-table tr:hover {
    background: #f8f9fa;
}

.result-correct {
    color: #28a745;
    font-weight: 600;
}

.result-incorrect {
    color: #dc3545;
    font-weight: 600;
}

.confidence-badge {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.match-count-cell {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
    display: inline-block;
    min-width: 35px;
    text-align: center;
}



.contact {
    background: rgba(255, 255, 255, 0.1);
    padding: 4rem 0;
    backdrop-filter: blur(10px);
}

.contact-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-info h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

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

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #ff6b35;
}

.benefit i {
    color: #ff6b35;
    font-size: 1.5rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-method {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
}

.contact-method h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-id {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #ffd700;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.contact-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-title-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.qr-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 1rem;
}

.qr-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.qr-placeholder p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.qr-placeholder small {
    opacity: 0.8;
}

.footer {
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 2rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.footer p {
    margin: 0.5rem 0;
}

.footer small {
    opacity: 0.7;
}

.floating-contacts-desktop {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.floating-contacts-mobile {
    display: none;
}

.floating-widget {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    width: 160px;
    transition: all 0.3s ease;
}

.floating-widget.expanded {
    width: 160px;
}

.floating-header {
    padding: 0.7rem 0.8rem;
    text-align: center;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    position: relative;
}

.floating-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.floating-cta-text-desktop {
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    line-height: 1.3;
    word-wrap: break-word;
}

.floating-buttons-desktop {
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.floating-telegram {
    background: linear-gradient(135deg, #229ED9, #0088cc);
}

.floating-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn:hover {
    transform: translateX(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

.floating-btn:hover::before {
    left: 100%;
}

.floating-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.floating-btn-text {
    font-size: 0.75rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .stats-highlight {
        gap: 1rem;
        justify-content: space-around;
    }
    
    .stat {
        min-width: 100px;
        padding: 1rem 0.5rem;
        flex: 1;
        max-width: 120px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .hero-contact-text {
        font-size: 0.9rem;
    }
    
    .hero-contact-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: nowrap;
    }
    
    .hero-contact-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        min-width: 140px;
        flex: 1;
        max-width: 150px;
    }
    
    .predictions-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 0.5rem;
        order: 4;
    }
    
    .language-select {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    .contact-method {
        padding: 1rem;
    }
    
    .contact-method h3 {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }

    .stats-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Two-row mobile header to prevent overlap */
    .header {
        padding: 0.4rem 0;
    }
    
    .header .container {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    /* First row: Logo only */
    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 35px;
    }
    
    .logo i {
        font-size: 1.3rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        margin: 0;
        text-align: center;
    }
    
    /* Second row: Navigation + Language */
    .nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.3rem;
        flex-wrap: wrap;
        min-height: 30px;
    }
    
    .nav a {
        font-size: 0.7rem;
        padding: 0.2rem 0.3rem;
        white-space: nowrap;
        text-align: center;
        flex-shrink: 1;
        min-width: 0;
    }
    
    /* Language selector */
    .language-switcher {
        margin-left: 0.3rem;
        order: 10; /* 确保语言选择器在最后 */
    }
    
    .language-select {
        font-size: 0.6rem;
        padding: 0.15rem 0.25rem;
        min-width: 40px;
        max-width: 50px;
        border-radius: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Extra small screens - further compression */
    @media (max-width: 360px) {
        .header {
            padding: 0.3rem 0;
        }
        
        .logo {
            min-height: 30px;
            gap: 6px;
        }
        
        .logo h1 {
            font-size: 1.1rem;
        }
        
        .logo i {
            font-size: 1.1rem;
        }
        
        .nav {
            gap: 0.2rem;
            min-height: 25px;
        }
        
        .nav a {
            font-size: 0.65rem;
            padding: 0.15rem 0.25rem;
        }
        
        .language-select {
            font-size: 0.55rem;
            padding: 0.1rem 0.2rem;
            min-width: 35px;
            max-width: 45px;
        }
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .stats-highlight {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
        margin: 1.5rem 0;
    }
    
    .stat {
        flex: 1;
        min-width: 90px;
        max-width: none;
        padding: 1rem 0.3rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .stats-cards {
        display: flex;
        flex-direction: row;
        gap: 0.8rem;
        margin-bottom: 2rem;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .stats-card {
        flex: 1;
        min-width: 110px;
        padding: 1.2rem 0.8rem;
    }
    
    .stats-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .big-stat span {
        font-size: 2rem;
    }
    
    .big-stat small {
        font-size: 0.75rem;
    }
    
    .stats-card p {
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    .prediction-card,
    .contact-content {
        padding: 1.5rem;
    }
    

    
    .match-number {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
        min-width: 35px;
    }
    
    .match-date {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .match-round {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
        margin-bottom: 0;
    }
    
    .match-number-display {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        margin-top: 0.3rem;
    }

    .countdown-container {
        padding: 0.5rem 0.8rem;
        margin-top: 0.6rem;
        gap: 0.3rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .countdown-time {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }

    .match-teams {
        font-size: 1.1rem;
        min-height: 3.5rem;
        text-align: center;
        align-items: center;
        gap: 0.3rem;
    }
    
    .team-name {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .vs {
        font-size: 1rem;
        margin: 0.2rem 0;
    }

    .prediction-header {
        gap: 0.2rem;
        margin-bottom: 0.6rem;
    }
    
    .match-count {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
    
    .prediction-label {
        font-size: 0.9rem;
    }
    
    .prediction-stats {
        gap: 0.3rem;
    }
    
    .prediction-count {
        font-size: 0.8rem;
    }
    
    .predicted-winner {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
        padding: 0.4rem 0.8rem;
    }

    .history-table-container {
        padding: 1rem;
    }
    
    .history-table {
        font-size: 0.8rem;
    }
    
    .history-table th,
    .history-table td {
        padding: 0.5rem 0.3rem;
    }

    .history-table td:nth-child(3) {
        width: 35px;
        min-width: 35px;
        padding: 0.5rem 0.1rem;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .teams-display {
        gap: 0.4rem;
        font-size: 0.9rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .team-with-logo {
        gap: 0.2rem;
    }
    
    .team-logo {
        width: 16px;
        height: 16px;
    }
    
    .team-name-text {
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.1;
    }
    
    .vs-divider {
        margin: 0 0.2rem;
        font-size: 0.9rem;
        opacity: 0.7;
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1rem;
        flex-shrink: 0;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
        padding-right: 2rem;
    }
    
    .close {
        right: 1rem;
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
    
    .blurred-content {
        padding: 0.8rem;
        margin-bottom: 1rem;
        max-height: 150px;
    }
    
    .blurred-content::after {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .blurred-content p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin: 0.3rem 0;
    }
    
    .continuation-text {
        margin: 1rem 0 0.8rem 0;
    }
    
    .continuation-text p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-prompt {
        padding-top: 0.5rem;
    }
    
    .vip-message {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .modal-contact-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: nowrap;
    }
    
    .modal-contact-btn {
        min-width: 140px;
        max-width: 150px;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        flex: 1;
    }
    
    .read-more-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .comments-container,
    .comment-form-container {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .comments-list {
        max-height: 350px;
        padding-right: 0.2rem;
    }
    
    .comment-item {
        padding: 0.6rem;
        margin-bottom: 0.4rem;
        border-radius: 6px;
    }
    
    .comment-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.3rem;
    }
    
    .comment-author {
        font-size: 0.8rem;
    }
    
    .comment-date {
        font-size: 0.7rem;
    }
    
    .comment-content {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.3rem;
    }
    
    .comment-rating {
        gap: 0.05rem;
    }
    
    .star {
        font-size: 0.7rem;
    }
    
    .comment-form-container h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .submit-comment-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .comment-modal-content {
        width: 95%;
        max-width: 400px;
    }
    
    .comment-modal-body {
        padding: 1.5rem;
    }
    
    .success-icon {
        font-size: 2.5rem;
    }
    
    .submission-message h4 {
        font-size: 1.1rem;
    }
    
    .submission-message p {
        font-size: 0.9rem;
    }
    
    .comment-contact-buttons {
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .comment-contact-btn {
        min-width: 130px;
        max-width: 140px;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        flex: 1;
    }

    .contact-icon {
        width: 18px;
        height: 18px;
    }

    .contact-title-icon {
        width: 20px;
        height: 20px;
        margin-right: 0.3rem;
    }

    .floating-contacts-desktop {
        display: none;
    }

    .floating-contacts-mobile {
        display: block !important;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem 1.5rem;
        border-radius: 25px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        max-width: 90vw;
    }

    .floating-cta-text {
        font-size: 0.9rem;
        font-weight: 700;
        color: #ff6b35;
        margin-bottom: 0.8rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
        }
    }

    .floating-buttons {
        display: flex;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: nowrap;
    }

    .floating-btn-mobile {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.5rem 0.8rem;
        border-radius: 20px;
        text-decoration: none;
        color: #333;
        font-weight: 600;
        font-size: 0.8rem;
        transition: all 0.3s ease;
        min-width: 80px;
        justify-content: center;
        flex: 1;
        max-width: 120px;
    }

    .floating-telegram-mobile {
        background: linear-gradient(135deg, #229ED9, #1E88E5);
        color: white;
    }

    .floating-whatsapp-mobile {
        background: linear-gradient(135deg, #25D366, #128C7E);
        color: white;
    }

    .floating-btn-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .floating-icon-mobile {
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.95;
    }
}

.prediction-card,
.stats-card {
    animation: fadeInUp 0.6s ease forwards;
}

[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav {
    direction: rtl;
}

[dir="rtl"] .comment-header {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .prediction-reason {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .hero-content {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .floating-contacts-desktop {
    left: 20px;
    right: auto;
}

[dir="rtl"] .teams-display {
    direction: rtl;
}

[dir="rtl"] .modal-body {
    direction: rtl;
    text-align: right;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff5722, #ff6b35);
} 