.challenges-container {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.challenges-header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.challenges-header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--secondary-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.challenges-header p {
    font-size: 1.2rem;
    color: var(--text-color);
}

.challenges-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 10px 30px;
    border: none;
    border-radius: 20px;
    background: rgba(23, 149, 232, 0.2);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--primary-color);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .challenges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .challenges-grid {
        grid-template-columns: 1fr;
    }
}

.challenge-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(23, 149, 232, 0.2);
    transition: transform 0.3s ease;
}

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

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-image .status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 15px;
    border-radius: 15px;
    background: rgba(39, 174, 96, 0.9);
    color: white;
    font-size: 0.9rem;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin: 0 0 15px 0;
    color: var(--secondary-color);
}

.challenge-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

.prize-section {
    text-align: center;
    padding: 15px;
    background: rgba(23, 149, 232, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.prize-section h4 {
    margin: 0 0 10px 0;
    color: var(--secondary-color);
}

.submit-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--accent-color);
}

.terms-section {
    margin-top: 50px;
    margin-bottom: 100px;
    padding: 30px;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    color: var(--text-color);
}

.terms-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.terms-section .play-now-btn {
    width: 130px !important;
}