* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b3d 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #e0e0e0;
}

.navbar {
    background: #1a1a1a;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-direction: row-reverse;
}

.logo, .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-img {
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-links li a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-links li a:hover {
    background: #6a1b9a;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px;
    transition: all 0.3s;
}

.btn-primary {
    background: #6a1b9a;
    color: white;
}

.btn-primary:hover {
    background: #4a148c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(106, 27, 154, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #6a1b9a;
    border: 2px solid #6a1b9a;
}

.btn-secondary:hover {
    background: #6a1b9a;
    color: white;
}

.features-section {
    padding: 60px 20px;
    background: #1a1a1a;
    margin: 40px 0;
}

.features-section h2 {
    text-align: center;
    color: #9c27b0;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    flex: 1 1 250px;
    max-width: 280px;
    background: linear-gradient(135deg, #6a1b9a 0%, #1a1a1a 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    border: 1px solid #4a148c;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.video-section {
    padding: 60px 20px;
    text-align: center;
    background: #1a1a1a;
    margin: 40px 0;
}

.video-section h2 {
    color: #9c27b0;
    font-size: 2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.games-section {
    padding: 40px;
    background: #1a1a1a;
    margin: 40px 0;
    border-radius: 10px;
    border: 1px solid #4a148c;
}

.games-section h2 {
    color: #9c27b0;
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}

.games-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.games-list li {
    background: #6a1b9a;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    border: 1px solid #4a148c;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.results-table th,
.results-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #4a148c;
    color: #e0e0e0;
}

.results-table th {
    background: #6a1b9a;
    color: white;
    font-weight: bold;
}

.results-table tr:hover {
    background: #2d1b3d;
}

.footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 2px solid #6a1b9a;
}

.footer a {
    color: #9c27b0;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 15px;
        justify-content: center;
    }
    
    .features-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .problem-solution {
        grid-template-columns: 1fr;
    }
    
    .messaging-container {
        flex-direction: column;
    }
    
    .conversations-list {
        width: 100%;
        border-left: none;
        border-bottom: 2px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

